Calculate values for a variable of an implicit function

37 ビュー (過去 30 日間)
Plato Sarantides
Plato Sarantides 2020 年 5 月 16 日
回答済み: Devineni Aslesha 2020 年 5 月 19 日
Hi,
I am new at Matlab and I'm trying to extract values of variable y in the given implicit function when I feed it with different values for the parameters : f , r , a.
For example f=0.2 r=0.41 a=0.08
The function is : a=atan(-f*y/(f^2+(1-r)^2-y^2/4)) .
I tried the fzero but it doesn't work probably because I'm not using it correctly.
I would really appreciate any kind of help.
Thanks in advance.
PS.

回答 (1 件)

Devineni Aslesha
Devineni Aslesha 2020 年 5 月 19 日
Hi Plato
To calculate the values for a variable of an implicit function, use the below code.
f=0.2;
r=0.41;
a=0.08;
syms y
eqn = a - atan(-f*y/(f^2+(1-r)^2-y^2/4)) == 0;
yVal = vpasolve(eqn,y);
For more information, refer the following link.

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by