Why is this coming back blank?

1 Ansicht (letzte 30 Tage)
Marina Pirzada
Marina Pirzada am 4 Mai 2020
Im just trying to find the critical points. Why is it coming back blank?

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 4 Mai 2020
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 Kommentare
Marina Pirzada
Marina Pirzada am 5 Mai 2020
How do I ask to display the results?
Walter Roberson
Walter Roberson am 5 Mai 2020
disp(CriticalPoints)

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Image Analyst
Image Analyst am 5 Mai 2020
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 Kommentar
Walter Roberson
Walter Roberson am 5 Mai 2020
diff(expression, symbolic) is differentiation

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by