Simplify error in matlab

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))

回答(1 个)

Sean de Wolski
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 个评论

Thank you!
If it worked, please accept the answer to mark it closed.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Annotations 的更多信息

标签

提问:

Bob
2015-1-29

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by