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

1 vue (au cours des 30 derniers jours)
Joseph Mohane
Joseph Mohane le 4 Oct 2018
Rouvert : Walter Roberson le 22 Déc 2018
f(t)= t.^3 , -pi<=t<pi over interval -2*pi<=t<=2*pi

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Signal Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by