![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/178122/image.png)
Undefined function or method 'erfc' for input arguments of type 'sym'.??plz help
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
clc;
clear all;
a0=1;
c=1;
alpha=1
g=0:0.1:6;
syms x y
x=a0*g.*y;
p=0.5*erfc(x/sqrt(2))*(y^(alpha-1))*exp(-y/c)/(gamma(aplha)*c^alpha);
q=int(p,y,0,100);
plot(g,q)
0 Kommentare
Antworten (1)
Morteza
am 19 Aug. 2015
I tested your code with MATLAB2014 and it's OK. The result is like below.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/178122/image.png)
Then what is the problem?
Siehe auch
Kategorien
Mehr zu Install Products finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!