Community Profile

# M.Many

##### Last seen: Today
12 total contributions since 2020

View details...

Contributions in
View by

Question

Convert cell array to vector
Hello everybody, I have a 1279x1 cell array containing timestamps and I want to convert it as a 1279x1 vector of interpretable ...

4 days ago | 2 answers | 0

### 2

Unable to call table2array in another function
labels = data{:,end}; Use this to directly get labels as an array instead of a table. There is no need to use table2array.

2 months ago | 0

| accepted

Subtracting mean from table column and creating new Column with solution
%M = rand(30,10); %T = array2table(M) T{:,11}= mean(T{:,10})-T{:,5} % Replace T by your Table

2 months ago | 0

For Loop: Help me PLZ
You can just use sum(M) % it sums the columns Or if you absolutely need to use a for loop, you can do sum = []; for k = 1:s...

2 months ago | 0

matlab linear algebra plot
Go to the tabs "Tools" -> "Basic fitting" in the plot. There you can get these values.

2 months ago | 0

keeping original size of image when using imagesc
Hi, you can use image(imageToDisplay) axis image to keep the ratio 1 to 1 I hope this helps

2 months ago | 0

| accepted

How can I fit an exponential curve?
You can use cftool to fit curves, or use the Basic fitting tool when you plot the curve (in the Tool tab of the figure), but the...

2 months ago | 0

inverse of matrix 18x18
The inverse doesn't exist because A is singular, this means that one or more rows are linearly dependent from other rows. A is i...

2 months ago | 0

How to plot this type of data in MatLab?
Hi, you can try this %load A D = linspace(2.5 , 197.5 , 9 )'; M = linspace(4.75, 8.75, 9)'; bar3(reshape(A,40,9)) se...

2 months ago | 1

| accepted

I have two 3d points, A(1,0,0) and B(0,1,0). And I connect these two points as a line AB. How to divide this line into 10 equally segments and get their coordinates?
Hi, you can use vectors to solve this problem AB = [-1 1 0]' %vector AB discretization = linspace(0,1,10) %10 values vectors ...

2 months ago | 1

Question

ODE symbolic result plotting with fplot()
Hello, So I am trying to solve an ODE using the symbolic toolbox. syms phi(t) g l d m dphi = diff(phi,t); % Derivative of ph...

2 months ago | 1 answer | 0