Calculate values for a variable of an implicit function
25 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
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.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!