how to write this equation
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/153768/image.png)
Can someone help me write this equation. I am having problems with a bracket somewhere.Not getting the answer i needed.
Thanks
6 commentaires
John BG
le 14 Juin 2016
good, you got to the result you wanted.
The adding of .^ ./ is what I meant
Now you can throw in vectors, as long as same length, and obtain numeric results, better than working with symbolic variables.
Regards
John
Réponse acceptée
Stephen23
le 12 Juin 2016
Modifié(e) : Stephen23
le 12 Juin 2016
I used y and B to make it easier to read:
num = 2*y*(r^((y-1)/y)-1)
den = (y-1)*(B^4 - r^(-2/y))
out = sqrt(num/den)
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!