clcclear allsyms m x k m=5;k=2;alpha=2;beta=(1.65)*(10^(-5));sai=10;rho=15;pt=2;pn=16.56*10^(-14);g = @(x)symsum((((1/factorial(k))*(m*sai*pn/2*beta)^k)),k,0,m-1).*exp(-(rho.*x)+((m*sai*pn*x.^alpha)/(beta*pt)))*x.^(alpha*1);format longf= rho*integral(g,0,inf)plot(alpha,f,'*')
MATLAB: I get the error “Undefined function ‘symsum’ for input arguments of type ‘double’. while solving the equation given below.Please help me.
MATLABundefined functionundefined function symsum
Best Answer