MATLAB: How to plot a continuous signal

#continuoussignal #plotting#cosinefunction

i am unable to plot the following signal can anyone help me? x(t)=20t^2(1-t)^4cos(12*pi*t)

Best Answer

Sounds like homework ...
x = @(t) 20*t.^2.*(1-t).^4.*cos(12*pi*t);
t = linspace(0, 1);
figure(1)
plot(t, x(t))
grid
Related Question