Codes for coherent state function?
4 ビュー (過去 30 日間)
古いコメントを表示
Summation n=0 to10 exp-abs(alpha)^2*alpha^n/sqrtfactorial(n)
0 件のコメント
採用された回答
Walter Roberson
2023 年 1 月 13 日
syms alpha n
result = symsum(exp(-abs(alpha)^2 * alpha^n / sqrt(factorial(n)) ), n, 0, 10)
12 件のコメント
Walter Roberson
2023 年 2 月 9 日
remove the sum() from resultsym to get length(alpha) by length(0:11), which would be removing the summation from the formula
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Applications についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!