How to write this expression in matlab?
2 ビュー (過去 30 日間)
古いコメントを表示
Idrees Muhammad
2022 年 12 月 4 日
コメント済み: Idrees Muhammad
2022 年 12 月 4 日
how to write in matlab f0r n=0 to 200
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!