how to write this equation
1 次查看(过去 30 天)
显示 更早的评论
![](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 个评论
John BG
2016-6-14
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
采纳的回答
Stephen23
2016-6-12
编辑:Stephen23
2016-6-12
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)
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!