Simplify error in matlab
3 ビュー (過去 30 日間)
古いコメントを表示
I have this code: simplify(((sin*(x^2))*(sec*x))/(1+sec*x))
and getting this error: Error using sin Not enough input arguments.
Error in project1 (line 5) p6=simplify(((sin*(x^2))*(sec*x))/(1+sec*x))
0 件のコメント
回答 (1 件)
Sean de Wolski
2015 年 1 月 29 日
編集済み: Sean de Wolski
2015 年 1 月 29 日
sin*
Is not a valid expression... sin is a function that expects inputs:
sin(1)
What you are doing is
sin*(1)
which will give the same error. Same with sec
2 件のコメント
参考
カテゴリ
Help Center および File Exchange で Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!