Community Profile

photo

Pritom Kumar Saha


Active since 2021

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

Content Feed

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...

5 maanden 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....

5 maanden 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...

6 maanden 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...

6 maanden 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: ...

6 maanden 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...

6 maanden 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...

10 maanden 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) ...

10 maanden 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...

ongeveer een jaar 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.

ongeveer een jaar 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...

ongeveer een jaar 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...

meer dan een jaar 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...

meer dan een jaar 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...

meer dan een jaar 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.

meer dan een jaar 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.

meer dan een jaar ago | 3

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 ...

meer dan een jaar 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...

meer dan een jaar 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 ...

meer dan een jaar 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.

meer dan een jaar 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 ...

meer dan een jaar ago

Solved


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

meer dan een jaar 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 ...

meer dan een jaar ago

Solved


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

meer dan een jaar ago

Solved


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

meer dan een jaar ago

Solved


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

meer dan een jaar ago

Solved


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

meer dan een jaar ago

Solved


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

meer dan een jaar 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...

meer dan een jaar 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 ...

meer dan een jaar ago

Load more