필터 지우기
필터 지우기

Undefined function or method 'erfc' for input arguments of type 'sym'.??plz help

조회 수: 1 (최근 30일)
khushi
khushi 2015년 8월 19일
댓글: khushi 2015년 8월 19일
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)

답변 (1개)

Morteza
Morteza 2015년 8월 19일
I tested your code with MATLAB2014 and it's OK. The result is like below.
Then what is the problem?

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by