Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Calculating spesific value in derivative

1 回表示 (過去 30 日間)
sagi ash
sagi ash 2016 年 11 月 6 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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 件のコメント
Daniel kiracofe
Daniel kiracofe 2016 年 11 月 6 日
diff should work (assuming you are using the symbolic math toolbox). Could you post your code and the error that you are getting?

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by