필터 지우기
필터 지우기

Codes for coherent state function?

조회 수: 4 (최근 30일)
Abu Zar
Abu Zar 2023년 1월 13일
댓글: Abu Zar 2023년 2월 11일
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에서 Applications에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by