Afficher commentaires plus anciens
以下のような方程式において,解の配列サイズが4×1ならば1,それ以外ならば0とするようなコードの書き方をご教授頂きたいです。本来行いたいこととしてはforループを用いてvpasolveの中の式を入れ替え,ループ毎に解の配列サイズによってその後の処理を変えたいです。何卒宜しくお願い致します。
syms x
S = vpasolve(2*x^4 + 3*x^3 - 4*x^2 - 3*x + 2 == 0, x)
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur 整数論 dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!