cd Tutorial5/ ls ans = FourierMat.m Tutorial5.doc Tutorial5.pdf myfftSt.m FourierMatSt.m Tutorial5.html myfft.m spectraSt.m FFTst=myfftSt(t,temp); ??? Undefined function or variable 't'. t=linspace(0,10,200); temp=sin(2*pi*t); plot(t,temp) FFTst=myfftSt(t,temp); ??? Error using ==> vertcat All rows in the bracketed expression must have the same number of columns. Error in ==> /Users/pershing/Documents/Courses/2003_04/CIS401-Matlab/Lecture10/Tutorial5/myfft.m On line 24 ==> a = real( [y(1); 2*y(2:N/2+1) ] )/N; Error in ==> /Users/pershing/Documents/Courses/2003_04/CIS401-Matlab/Lecture10/Tutorial5/myfftSt.m On line 11 ==> [a,b,f,t1]=myfft(time,data); FFTst=myfftSt(t',temp'); FFTst FFTst = a: [101x1 double] b: [101x1 double] f: [1x101 double] t1: 0 FFTst.t1 ans = 0 FFTst.a(1:5) ans = 1.0e-03 * -0.0000 0.0157 0.0646 0.1531 0.2947 edit myfftSt [t,XYZ]=ode23(@LorenzEq, [0 100], [1 1 1]'); ??? Error using ==> feval Undefined function 'LorenzEq'. Error in ==> /Applications/MATLAB6p5/toolbox/matlab/funfun/private/odearguments.m On line 104 ==> f0 = feval(ode,t0,y0,args{:}); Error in ==> /Applications/MATLAB6p5/toolbox/matlab/funfun/ode23.m On line 154 ==> [neq, tspan, ntspan, next, t0, tfinal, tdir, y0, f0, args, ... cd .. [t,XYZ]=ode23(@LorenzEq, [0 100], [1 1 1]'); plot(t,XYZ) plot(XYZ(:,1),XYZ(:,3)) plot3(XYZ(:,1),XYZ(:,2),XYZ(:,3)) [t,XYZ]=ode23(@LorenzEq, [0 100], [1 1 1]',[],[10 10 8/3]); plot(t,XYZ) exit