Graphing a transcendental Equation
5 ビュー (過去 30 日間)
古いコメントを表示
HI everyone, i am new on matlab and i need some help to plot a transcendental equation. The equation is:
sin(beta - phi)+sin(phi)*exp(-beta/atan(phi)=0;
This curve represents the conduction angle beta given a phi angle. The plot needs to represents beta degrees (Y axis) vs phi degrees (X axis).
The point is that phi varies from 0 to 100º deg, and beta varies from 0 to 380º deg, i want to see the relation between phi and beta.
Cand someone give me some help?
Cheers!
0 件のコメント
採用された回答
John D'Errico
2017 年 8 月 20 日
編集済み: John D'Errico
2017 年 8 月 20 日
ezplot('sind(beta - phi)+sind(phi).*exp(-beta./atand(phi))',[0 380 0 100])
When you are not sure how to plot something, ezplot (or one of its cousins) is often a good thing to try.
6 件のコメント
Teja Muppirala
2017 年 8 月 21 日
編集済み: Teja Muppirala
2017 年 8 月 21 日
FPLOT (or FIMPLICIT in this case) is recommended over EZPLOT.
fimplicit(@(beta,phi) sind(beta - phi)+sind(phi).*exp(-beta./tand(phi)),[0 380 0 100])
FPLOT will replot the graph upon zooming (and also panning if you don't explicity send in limits) and display locations of singularities.
In the implicit case, FIMPLICIT actually gives you a true line that can be queried instead of a contour plot like EZPLOT.
その他の回答 (1 件)
amita tripathi
2018 年 12 月 19 日
What, if we want to plot histogram of the trancendental expression like
.

0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Dialog Boxes についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!