How do I plot the function of y = e^(-2x^2) * cos(4pi*x – 1.5)? This is what I have so far but I can't seem to figure out what to do for the x coordinate. Is my y correct? Please help!
x=?
y=exp(-2.*x.^2) .* cos(4.*pi.*x – 1.5)
plot(x,y)
matlab functionplot
Best Answer