How can I plot a periodic signal f(t)= t.^3 , -pi<=t<pi over interval -2*pi<=t<=2*pi

2 views (last 30 days)
f(t)= t.^3 , -pi<=t<pi over interval -2*pi<=t<=2*pi

Accepted Answer

Torsten
Torsten on 4 Oct 2018
x = linspace(-2*pi,2*pi,1000);
y = (mod(x+pi,2*pi)-pi).^3;
plot(x,y)

More Answers (0)

Categories

Find more on Signal Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!