Why the numerical values for function handle from matlabFunction should be written one by one?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi guys,
I am now using matlabFunction for change a symbolic expression into a funtion handle.
I find a question like this: if I write the numeric values one by one to replace the symbolic variables like this:
then the answer can be obtained as 3.
However, if I write
F2= f( aa )
then, in the command window, it shows like this:
Could anyone help me about this question?
Thanks so much!
댓글 수: 2
채택된 답변
madhan ravi
2018년 12월 12일
편집: madhan ravi
2018년 12월 12일
Because your function requires three inputs but you fed in 1
f(aa(1),aa(2),aa(3))
댓글 수: 6
madhan ravi
2018년 12월 13일
Anytime :) , if you got the answer to your question make sure to accept the answer.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Whos에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!