This is what I have so far
if trueclear all; clc;close all;t=(-.5:1*exp(-6):2);f=6*exp(-1.5*t)*cos(8*3.14*t);F=input('Enter a particular value for f(t): ');Figure 1;Plot (f,t,'r',F,t,'g');grid on;hold on;end
I know my problem is at the f= line, what am I doing wrong with the *? Thanks
Best Answer