convert the above expression into this graph

1 回表示 (過去 30 日間)
서연
서연 2024 年 10 月 3 日
コメント済み: 서연 2024 年 10 月 4 日

I want to convert the above expression into this graph.
Can you help me? TT

採用された回答

Torsten
Torsten 2024 年 10 月 3 日
編集済み: Torsten 2024 年 10 月 3 日
I'll show you how to solve for theta2 given theta from the equation
sin(theta2-theta)+exp(-theta2/(omega*tau))*sin(theta)=0
From the graph I guess this is not exactly what is meant. So you have to explain yourself in more detail.
omega = 1;
tau = 100;
theta = linspace(0,pi/2);
fun = @(theta2,theta)sin(theta2-theta)+exp(-theta2/(omega*tau))*sin(theta);
theta20 = pi;
for i = 1:numel(theta)
theta2(i) = fzero(@(theta2)fun(theta2,theta(i)),theta20);
theta20 = theta2(i);
end
plot(theta*180/pi,theta2*180/pi)
xlim([0 90])
  1 件のコメント
서연
서연 2024 年 10 月 4 日
You are my GOD.
Very very thank you.
I love you♡!!!!!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMathematics についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by