How to implement the following equation in MATLAB
1 次查看(过去 30 天)
显示 更早的评论
Hello everyone I hope you are doing well. I want to find the following values How can i do it in MATLAB
I have tried the following code but answer is not same
x=nthroot(2048, 3)+(factorial(12)*3^2/50-25)
y=1024^(3*9)+(12/0.25+factorial(10))
z=(sqrt(factorial(20)))^3
ans= x*y+z
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1122985/image.jpeg)
5 个评论
Dyuman Joshi
2022-9-12
(factorial(12)*3^2/50-25)
%the problem is here ^
%something to do with order of operations
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multidimensional Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!