Community Profile

photo

Suraj Sudheer Menon


Last seen: 4 years ago Active since 2020

Statistics

  • Revival Level 1
  • Knowledgeable Level 1
  • First Answer

View badges

Content Feed

View by

Answered
How do I calculate a mean value of a vector and ignore from the "0" when appears inside the vectors?
All non zero elements can be stored in another location using logical indexing and mean operation can be performed. temp=A(A~=0...

4 years ago | 0

Answered
Substitute numbers in array
The following could be an approach:- sub=[5 6 7 8 1 2 3 4]; XX=flip(X); for i=1:numel(X) XX(i)=sub(XX(i)); end %XX con...

4 years ago | 0

Answered
How can I save 3 matrices created by for loop to save in a single matrix?
let x,y,z be the 3 iteration output vectors. ans=[x ; y ; z] % This creates a new vector by combining the above vectors. The...

4 years ago | 0

Answered
How to define 4 digits after decimal
The data that is stored in a workspace can be in different formats.The short format displays decimal values upto 4 digits. form...

4 years ago | 0

Answered
reading a table: column name
A column can be read from a table by referring to the the column variable. data=readtable('filename.csv') morning=data.morni...

4 years ago | 0

| accepted

Answered
How can one define this vector in an elegant way?
An approach could be to perform elementwise multiplication and perform transpose operation to obtain the a column vector.If a ro...

4 years ago | 0