Torque ripple plot in MATLAB

I get that the above plot is sinusoidal waves in multiple phases, but I don't understand how to isolate them into bold gren line. I have tried googling torque ripple or cogging but came with no luck. Anybody point me in the right direction, that'd be great.

回答 (1 件)

Star Strider
Star Strider 2021 年 10 月 18 日

0 投票

Try something like this —
t = linspace(0, 720, 1000);
s = [sind(2.5*t); sind(2.5*t+180)];
figure
plot(t,s, '--')
hold on
plot(t, max(s),'-g', 'LineWidth',2)
hold off
grid
.

カテゴリ

ヘルプ センター および File ExchangeMathematics についてさらに検索

質問済み:

2021 年 10 月 18 日

回答済み:

2021 年 10 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by