How to write this expression in matlab?
1 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1218322/image.png)
and for 0.03
0 个评论
采纳的回答
Walter Roberson
2022-12-4
syms k n r
expr = nchoosek(n, k) * (n-k)/sqrt(n) * (-1)^(n-k) * sinh(r)^(2*n-1-2*k) * cosh(r)^(2*k-n-1)
g(n) = symsum(expr, k, 0, n)
simplify(g, 'steps', 20)
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!