derivative of a function file
古いコメントを表示
hello everybody i'm wondering if it's possible to find the numerical derivative of a piecewise function that i have separately built as a function file in matlbab
2 件のコメント
Jan
2013 年 11 月 29 日
What exactly is the derivative of a piecewise function? Does "piecewise" implies a continuous derivative in your problem?
Walter Roberson
2013 年 11 月 29 日
A spline, for example, is piecewise. (Note: there is a spline derivative routine around.)
Piecewise does not necessarily have a smooth derivative.
回答 (2 件)
Walter Roberson
2013 年 11 月 29 日
0 投票
gradient() ?
1 件のコメント
Walter Roberson
2013 年 11 月 30 日
If you create a vector or array of values by running them through the function, then you can gradient() that vector or array.
カテゴリ
ヘルプ センター および File Exchange で MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!