Community Profile

photo

Pritom Kumar Saha


Active since 2021

Followers: 0   Following: 0

Programming Languages:
MATLAB
Spoken Languages:
English
Professional Interests:
Signal Processing, Neuroscience, Neural Simulation, Psychtoolbox-3: Vision and neuroscience research

Statistics

All
  • Commenter
  • Promoter
  • First Answer
  • Community Group Solver
  • Solver

View badges

Feeds

View by

Solved


Fix the last element of a cell array
Note: this is lifted directly from <http://www.mathworks.com/matlabcentral/answers/82825-puzzler-for-a-monday Puzzler for a Mond...

nästan 2 år ago

Solved


Remove element(s) from cell array
You can easily remove an element (or a column in any dimension) from a normal matrix, but assigning that value (or range) empty....

nästan 2 år ago

Solved


Split a string into chunks of specified length
Given a string and a vector of integers, break the string into chunks whose lengths are given by the elements of the vector. Ex...

nästan 2 år ago

Solved


Convert a numerical matrix into a cell array of strings
Given a numerical matrix, output a *cell array of string*. For example: if input = 1:3 output is {'1','2','3'} whic...

nästan 2 år ago

Solved


Create a cell array out of a struct
Create a cell array out of a (single) struct with the fieldname in the first column and the value in the second column: in: ...

nästan 2 år ago

Solved


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

nästan 2 år ago

Question


error in Isomap function
I was trying to run the Isomap function on my dataset (32 rows and 1632 columns). function [Y, R, E] = Isomap(D, n_fcn, n_size...

ungefär 2 år ago | 0 answers | 0

0

answers

Question


Color map error when I write "colorMap = Map.black"?
when I write colorMap = Map.black; it shows error Unable to resolve the name Map.black. Error in untitled4 (line 14) ...

ungefär 2 år ago | 1 answer | 0

1

answer

Solved


Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...

mer än 2 år ago

Solved


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

mer än 2 år ago

Solved


Read a column of numbers and interpolate missing data
Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

mer än 2 år ago

Solved


Remove the air bubbles
Given a matrix a, return a matrix b in which all the zeros have "bubbled" to the top. That is, any zeros in a given column shoul...

mer än 2 år ago

Solved


Find state names that start with the letter N
Given a list of US states, remove all the states that start with the letter N. If s1 = 'Alabama Montana Nebraska Vermont Ne...

mer än 2 år ago

Solved


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

mer än 2 år ago

Answered
Reading values from xml file
Try S = readstruct("abcd.xml") it works on my matlab version. It should work on matlab 2020b or higher version.

mer än 2 år ago | 4

Answered
Convert XML file to a MATLAB structure
Try S = readstruct("abcd.xml") it works on my matlab version. It should work on matlab 2020b or higher version.

mer än 2 år ago | 4

Solved


Replace Nonzero Numbers with 1
Given the matrix x, return the matrix y with non zero elements replaced with 1. Example: Input x = [ 1 2 0 0 0 ...

nästan 3 år ago

Solved


Given a matrix, swap the 2nd & 3rd columns
If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...

nästan 3 år ago

Solved


Find common elements in matrix rows
Given a matrix, find all elements that exist in every row. For example, given A = 1 2 3 5 9 2 5 9 3 2 5 9 ...

nästan 3 år ago

Solved


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

nästan 3 år ago

Solved


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

nästan 3 år ago

Solved


Create a vector
Create a vector from 0 to n by intervals of 2.

nästan 3 år ago

Solved


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

nästan 3 år ago

Solved


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

nästan 3 år ago

Solved


Find max
Find the maximum value of a given vector or matrix.

nästan 3 år ago

Solved


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

nästan 3 år ago

Solved


Inner product of two vectors
Find the inner product of two vectors.

nästan 3 år ago

Solved


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

nästan 3 år ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

nästan 3 år ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

nästan 3 år ago

Load more