convert the above expression into this graph

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개)

카테고리

도움말 센터File Exchange에서 Programming에 대해 자세히 알아보기

태그

질문:

2024년 10월 3일

댓글:

2024년 10월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by