フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

error while trying to plot four sinusoids

1 回表示 (過去 30 日間)
Benjamin
Benjamin 2011 年 10 月 26 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
script code
t= -5:0.1:5;
x1(t)= 5*cos(2*pi*(15)*t+0.5*pi);
x2(t)= 5*cos(2*pi*(15)*t+0.25*pi);
x3(t)= 5*cos(2*pi*(15)*t+0.4*pi);
x4(t)= 5*cos(2*pi*(15)*t+0.9*pi);
plot (t, x1(t), x2(t),x3(t),x4(t))
title ('Plot Of Four Sinusoids')
error
??? Subscript indices must either be real positive integers or logicals.
Error in ==> PlotOfFourSinusoids at 2 x1(t)= 5*cos(2*pi*(15)*t+0.5*pi);

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by