how to plot a continuous signal?

Illustration
amina sundas - 2023-11-07T11:38:18+00:00
Question: how to plot a continuous signal?

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

Expert Answer

Profile picture of John Williams John Williams answered . 2025-11-20

x = @(t) 20*t.^2.*(1-t).^4.*cos(12*pi*t);
t = linspace(0, 1);

figure(1)
plot(t, x(t))
grid

 


Not satisfied with the answer ?? ASK NOW

Get a Free Consultation or a Sample Assignment Review!