Beantwortet
Creating a class object with the same class name as a variable
I creat some file which is called: CLASS_Template.m and used some KEY_CLASSNAME as a key in this template. %codes of CL...

mehr als 6 Jahre vor | 0

Beantwortet
Divide y values of two graph?
what about htis? x=1:20; x2=1:5:20; y1=x.^2; y2=x2.^3-x2.^2+0.5*x2; plot(x,y1,'b-',x2,y2,'g.-') y3=i...

mehr als 6 Jahre vor | 2

| akzeptiert

Beantwortet
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';

mehr als 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 1

Beantwortet
Graph shows not all elemetns
I sugest F_1 = temps(:,5.'); must be F_1 = temps(:,5)';

mehr als 6 Jahre vor | 0

Beantwortet
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;

mehr als 6 Jahre vor | 0

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