formula representation with matlab.

조회 수: 1 (최근 30일)
ATS Talal
ATS Talal 2019년 12월 9일
답변: Walter Roberson 2019년 12월 9일
I have the following formula:
how can I represent or solve it with matlab?

답변 (1개)

Walter Roberson
Walter Roberson 2019년 12월 9일
syms rho L N_r
P_b = (1/2 * (1 - sqrt(rho/(2+rho)))^(2*N_r)) * symsum( nchoosek(2*N_r - 1 + L, L) * (1/2 * (1 - sqrt(rho/(2+rho)))^L), L, 1, 2*N_r - 1)
The result will still have a symsum() term when N_r is symbolic. If you subs() a particular numeric value in for N_r then it will be expanded.
There does not appear to be a nice compact formula involved; you just end up with a sum of terms.

카테고리

Help CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by