expr2=collect(EXPR,'exp(-t)') Why is it wrong?
2 ビュー (過去 30 日間)
古いコメントを表示
EXPR=str2sym('(x^2+x*exp(-t)+1)*(x+exp(-t))')
expr1=collect(EXPR)
expr2=collect(EXPR,'exp(-t)')
Why expr2 shows: sym.charToFunction (line 26) Invalid variable name
0 件のコメント
採用された回答
madhan ravi
2019 年 4 月 22 日
編集済み: madhan ravi
2019 年 4 月 22 日
expr2=collect(EXPR,exp(-t)) % no single quotes around the second argument
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Assumptions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!