Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Calculating spesific value in derivative

1 Ansicht (letzte 30 Tage)
sagi ash
sagi ash am 6 Nov. 2016
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
hi. i am using the GUI, and i am having an issue about something.
i am getting a function from user, for exp : 2*x+x.^3 and x value from user, for exp: x=2
i want to calculate the value in the derivative of the function, and get the spesific value, for exp: 5
using the 'diff' is not giving me the value
what should i write? thank you
  1 Kommentar
Daniel kiracofe
Daniel kiracofe am 6 Nov. 2016
diff should work (assuming you are using the symbolic math toolbox). Could you post your code and the error that you are getting?

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by