how to plot a continuous signal?

A
amina sundas · Nov 7, 2023 · 1.9K views
Question
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 PhD Expert
Answered Aug 19, 2026
x = @(t) 20*t.^2.*(1-t).^4.*cos(12*pi*t);
t = linspace(0, 1);

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

 

100% Run Guarantee 3-Hour Fast-Track Delivery

Need a Custom Version or Complete Simulation for This Problem?

Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.

Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!