## 30 Reputation

10 years, 25 days

## plotting array of values...

Maple

 > restart:
 > k:=75.11: m:=2: L:=3: with(plots):

Warning, the name changecoords has been redefined

 > a:=(m*L)+k-1:
 > b:=k-(m*L):
 > p:=((((k*m)/snr)^((a+1)/2))*MeijerG([[-a/2,(1-a)/2],[]],[[b/2,-b/2],[-(1+a)/2]],((k*m)/snr)))/(2*sqrt(Pi)*GAMMA(m*L)*GAMMA(k)):
 > result:=[seq([i,evalf(eval(p,snr=i))],i=1..30)];

 > plots:-pointplot(result);

Error, `plots` does not evaluate to a module

 >

need to plot these values for various values of i.

any help??

## unable to evaluate the function to numer...

Maple

 > k:=0.99: with(RealDomain):
 > m:=1: Digits:=2:
 > x:=(Pi*csc(Pi*(k-m)))/(0.693*GAMMA(k)*GAMMA(m));

 > m1:=MeijerG([[-m],[1-m]],[[0,-m,-m],[k-m]],(-m*k)/snr);

 > m2:=MeijerG([[-k],[1-k]],[[0,-k,-k],[m-k]],(-m*k)/snr);

 > c:=x*((((m*k)/snr)^m)*m1-(((m*k)/snr)^k)*m2);

 > with(plots):

Warning, the name changecoords has been redefined

 > plot(c,snr=0..10);

Warning, unable to evaluate the function to numeric values in the region; see the plotting command's help page to ensure the calling sequence is correct

Error, empty plot

 >

 > k:=0.99: with(RealDomain):
 > m:=1: Digits:=2:
 > x:=(Pi*csc(Pi*(k-m)))/(0.693*GAMMA(k)*GAMMA(m));

 > m1:=MeijerG([[-m],[1-m]],[[0,-m,-m],[k-m]],(-m*k)/snr);

 > m2:=MeijerG([[-k],[1-k]],[[0,-k,-k],[m-k]],(-m*k)/snr);

 > c:=x*((((m*k)/snr)^m)*m1-(((m*k)/snr)^k)*m2);

 > with(plots):

Warning, the name changecoords has been redefined

 > plot(c,snr=0..10);

Warning, unable to evaluate the function to numeric values in the region; see the plotting command's help page to ensure the calling sequence is correct

Error, empty plot

 >

 > k:=0.99: with(RealDomain):
 > m:=1: Digits:=2:
 > x:=(Pi*csc(Pi*(k-m)))/(0.693*GAMMA(k)*GAMMA(m));

 > m1:=MeijerG([[-m],[1-m]],[[0,-m,-m],[k-m]],(-m*k)/snr);

 > m2:=MeijerG([[-k],[1-k]],[[0,-k,-k],[m-k]],(-m*k)/snr);

 > c:=x*((((m*k)/snr)^m)*m1-(((m*k)/snr)^k)*m2);

 > with(plots):

Warning, the name changecoords has been redefined

 > plot(c,snr=0..10);

Warning, unable to evaluate the function to numeric values in the region; see the plotting command's help page to ensure the calling sequence is correct

Error, empty plot

 >

 > k:=0.99: with(RealDomain):
 > m:=1: Digits:=2:
 > x:=(Pi*csc(Pi*(k-m)))/(0.693*GAMMA(k)*GAMMA(m));

 > m1:=MeijerG([[-m],[1-m]],[[0,-m,-m],[k-m]],(-m*k)/snr);

 > m2:=MeijerG([[-k],[1-k]],[[0,-k,-k],[m-k]],(-m*k)/snr);

 > c:=x*((((m*k)/snr)^m)*m1-(((m*k)/snr)^k)*m2);

 > with(plots):

Warning, the name changecoords has been redefined

 > plot(c,snr=0..10);

Warning, unable to evaluate the function to numeric values in the region; see the plotting command's help page to ensure the calling sequence is correct

Error, empty plot

 >