Derivatives for trig functions
1 回表示 (過去 30 日間)
古いコメントを表示
I am a college student new to Matlab. How do I find the derivative of y with respect to x:
y=sec^-1*(3x^2+1), x>0
0 件のコメント
採用された回答
Star Strider
2020 年 7 月 14 日
Start with the Symbolic Math Toolbox:
syms x positive real
y(x) = asec(3*x^2+1);
then use the appropriate function to calculate the symbolic derivative.
If ‘x’ is a vector, use the gradient function to calculate the numeric derivative, and remember to use element-wise exponentiation in the asec argument.
I leave the details to you.
.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Calculus についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!