Filter löschen
Filter löschen

How to convert this equation to a matlab code?

2 Ansichten (letzte 30 Tage)
Hemvarshan
Hemvarshan am 15 Sep. 2022
Kommentiert: Hemvarshan am 15 Sep. 2022
How do i convert this equation to a MATLAB code? G is a Meijer function.
  2 Kommentare
Torsten
Torsten am 15 Sep. 2022
The Meijer G function and the gamma function are MATLAB functions. So what is your problem ?
Hemvarshan
Hemvarshan am 15 Sep. 2022
i'm new to MATLAB, so im having trouble writing the code for this equation, can you help me with writing it?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Torsten
Torsten am 15 Sep. 2022
Bearbeitet: Torsten am 15 Sep. 2022
It's written as it stands:
a = 0.5*[1-zeta.^2,2-zeta.^2,1-alpha,2-alpha,1-beta,2-beta];
b = [1];
c = 0.5*[0,1];
d = 0.5*[-zeta.^2,-zeta.^2+1];
z = 4*gamma.^2.*A0.^2.*hl.^2./(sigman.^2.*alpha.^2.*beta.^2);
Pe = 2.^(alpha+beta-4).*zeta.^2./(pi^1.5*gamma(alpha).*gamma(beta)).*meijerG(a,b,c,d,z)

Weitere Antworten (0)

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by