How to solve '' error(message('symbolic:sym:errmsg1')); ''
5 ビュー (過去 30 日間)
古いコメントを表示
syms m x y z n k xx. yy. zz.
n = 1.6;
k = 0.000005;
x = linspace(-0.000015, 0.000015, 10);
z = linspace(-0.00003, 0.00003, 10);
[xx, zz] = meshgrid(x, z);
yy = symsum(1i^(-m)*exp(1i*m*atan(zz./xx)).*(besselj(m,k*sqrt(xx.^2+zz.^2))-((n*diff(besselj(m,n*k*10^(-6)))*besselj(m,k*10^(-6))-besselj(m,n*k*10^(-6))*diff(besselj(m,k*10^(-6))))/(n*diff(besselj(m,n*k*10^(-6)))*besselh(m,k*10^(-6))-besselj(m,n*k*10^(-6))*diff(besselh(m,k*10^(-6)))))*besselh(m,k.*sqrt(xx.^2+zz.^2))),m,0,10);
mesh(xx, yy, zz);
however, the system says:
>> Untitled2
Error using syms (line 265) error(message('symbolic:sym:errmsg1'));
Invalid variable name.
Error in Untitled2 (line 1)
syms m x y z n k xx. yy. zz.
0 件のコメント
回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Symbolic Math Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!