Radial Basis Function Network

33 Views Asked by At

I have a problem in this code: Error using plot Vectors must be the same length. plot(t,ge);

 t=-1:1/20:1;              % time period
 ge=0.4*cos(4*x).*exp(-0.5*x);     % exact fucntion
1

There are 1 best solutions below

0
On BEST ANSWER

Try this

 t=-1:1/20:1;              % time period
 ge=0.4*cos(4*t).*exp(-0.5*t);     % exact function
 plot(t,ge);