次を使用中のエラー: symengine Division by zero.
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
以下の式のε(コード内ではe)を求めたいのですが,

下のようなコードを組むと,
syms tdvs s
m=4;x=1;p1=5;p2=5;p3=5;bw=0.58/2;n=40;a=0.3387;
Rtdvs=((abs(cos(pi*m/4*tdvs*x)))^(p2)+(abs(sin(pi*m/4*tdvs*x)))^(p3))^(-1/p1);
ytvs=-Rtdvs*sin(pi*tdvs*x);
dytvs=diff(ytvs,tdvs);
dynew = subs(dytvs,tdvs,cos(s*pi/(2*n+1)));
w=(sin(s*pi/(2*n+1)))^2/(2*n+1);
e=-4/bw^2*symsum(w*a*dynew,s,1,n)
上のようなエラーが出てしまいました.
どうプログラムを変えれば、上手く動きますか?
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur 整数論 dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!