Why is this coming back blank?

조회 수: 1 (최근 30일)
Marina Pirzada
Marina Pirzada 2020년 5월 4일
댓글: Walter Roberson 2020년 5월 5일
Im just trying to find the critical points. Why is it coming back blank?

채택된 답변

Walter Roberson
Walter Roberson 2020년 5월 4일
You do not ask to display the results. We can see from the size information on the bottom left that exactly one result was found.
  댓글 수: 2
Marina Pirzada
Marina Pirzada 2020년 5월 5일
How do I ask to display the results?
Walter Roberson
Walter Roberson 2020년 5월 5일
disp(CriticalPoints)

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

추가 답변 (1개)

Image Analyst
Image Analyst 2020년 5월 5일
What is blank? Your variable is empty, or nothing got printed out to the command window. You can take the semicolons off if you want to have results go to the command window. Also, as far as I know, diff() wants an actual number for the second argument, like 1 or 2, not some undefined symbolic x, unless there's a different diff for those of you who have the Symbolic Toolbox.
  댓글 수: 1
Walter Roberson
Walter Roberson 2020년 5월 5일
diff(expression, symbolic) is differentiation

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

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by