Matlab Fundamentals course:Creating and Calling Functions(4/5) Modify a Function: Not enough input arguments. Error in zerofuncti​on>findcro​ssing (line 23) y = y - z;

조회 수: 1 (최근 30일)
Hello, I passed Matlab Fundamentals to 97%, but there is still one task which I can´t finalize. I added everything required and checked it also in correct solution. But there is is error:
Not enough input arguments.
y = y - z;
I don´t know what to do now? Could you help me please?
Thnak you
  댓글 수: 2
John D'Errico
John D'Errico 2024년 12월 20일
편집: John D'Errico 2024년 12월 20일
Hint: is y or z a function that you have defined? From the images that you show, that would seem to be the case, where y and z are function handles.

댓글을 달려면 로그인하십시오.

답변 (1개)

Cris LaPierre
Cris LaPierre 2024년 12월 20일
As far as I can tell, you have not followed the instructions. The error suggests you have done part 2 correctly, but the image shows you have not done parts 1, 3 and 4.
Follow all the instructions and then submit your solution.
  댓글 수: 3
Walter Roberson
Walter Roberson 2024년 12월 20일
"4. Modify the two calls to findcrossing to add y0 as an input"
You did not do that.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Function Creation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by