Calculate values for a variable of an implicit function

25 visualizaciones (últimos 30 días)
Plato Sarantides
Plato Sarantides el 16 de Mayo de 2020
Respondida: Devineni Aslesha el 19 de Mayo de 2020
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.

Respuestas (1)

Devineni Aslesha
Devineni Aslesha el 19 de Mayo de 2020
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.

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by