Codes for coherent state function?

1 次查看(过去 30 天)
Summation n=0 to10 exp-abs(alpha)^2*alpha^n/sqrtfactorial(n)

采纳的回答

Walter Roberson
Walter Roberson 2023-1-13
syms alpha n
result = symsum(exp(-abs(alpha)^2 * alpha^n / sqrt(factorial(n)) ), n, 0, 10)
result = 
  12 个评论
Walter Roberson
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
Abu Zar
Abu Zar 2023-2-11
Hello sir,
I created this m.file to draw plot alpha vs Vnorm , but the vector is not the same length,I requetd you to look this file for my help to draw th plot.
Thank you

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Quantum Mechanics 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by