Answered

Converting a 3D matrix into a 2D in the correct order.

for i=1:8 for j=1:50 a(1,i,j)=i*10000+j; end end b=a; b=reshape(b,8,50); b=b';

Converting a 3D matrix into a 2D in the correct order.

for i=1:8 for j=1:50 a(1,i,j)=i*10000+j; end end b=a; b=reshape(b,8,50); b=b';

casi 3 años ago | 0

Answered

How to add final value of a loop part to the next one. i need to add the months answers of ii=1 to ii=12

clc; clear; XS =0; month=0; for ii = 1:12 x1 = input('week1:'); x2 = input('week2:'); x3 = input...

How to add final value of a loop part to the next one. i need to add the months answers of ii=1 to ii=12

clc; clear; XS =0; month=0; for ii = 1:12 x1 = input('week1:'); x2 = input('week2:'); x3 = input...

casi 3 años ago | 0

Answered

How can I multiply each element of a polynomial with different coefficients??

c1*exp(t)+c2*exp(-2*t)+c3*t+5*c4 if your c1 to cn are also arrays with the same dimension as t-series c1.*exp(t)+c2....

How can I multiply each element of a polynomial with different coefficients??

c1*exp(t)+c2*exp(-2*t)+c3*t+5*c4 if your c1 to cn are also arrays with the same dimension as t-series c1.*exp(t)+c2....

casi 3 años ago | 0

Answered

how can i find an itersection point between two function

1. you defined the variable intersectionx(end+1) and intersection(i) as array. So the plot(intersectionx,intersection...

how can i find an itersection point between two function

1. you defined the variable intersectionx(end+1) and intersection(i) as array. So the plot(intersectionx,intersection...

casi 3 años ago | 1

Answered

Graph shows not all elemetns

I sugest F_1 = temps(:,5.'); must be F_1 = temps(:,5)';

Graph shows not all elemetns

I sugest F_1 = temps(:,5.'); must be F_1 = temps(:,5)';

casi 3 años ago | 0

Answered

My script sees the value 2 different then 2.0000 which is a problem

Look at Operator Precedence in matlab. A=2000; B=2; C=A>B;

My script sees the value 2 different then 2.0000 which is a problem

Look at Operator Precedence in matlab. A=2000; B=2; C=A>B;

casi 3 años ago | 0

Answered

How to create isotropic voxels in an image stack without loosing original dimensions?

do you have your answer?

How to create isotropic voxels in an image stack without loosing original dimensions?

do you have your answer?

casi 3 años ago | 0

Answered

Moving axis to origin in an isosurface plot

What you try would be worked in 2D. plot(-1:0.1:1,(-1:0.1:1).^2) axis equal xlabel('x');ylabel('y'); ax=gca ax....

Moving axis to origin in an isosurface plot

What you try would be worked in 2D. plot(-1:0.1:1,(-1:0.1:1).^2) axis equal xlabel('x');ylabel('y'); ax=gca ax....

casi 3 años ago | 0

| accepted