How to write this expression in matlab?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Idrees Muhammad
am 4 Dez. 2022
Kommentiert: Idrees Muhammad
am 4 Dez. 2022
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1218322/image.png)
and for 0.03
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 4 Dez. 2022
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)
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Quantum Mechanics finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!