Help regarding below question.

5 ビュー (過去 30 日間)
Amy Topaz
Amy Topaz 2022 年 4 月 3 日
回答済み: Torsten 2022 年 4 月 3 日
How to find the slope of a plotted curve in matlab?
  2 件のコメント
Torsten
Torsten 2022 年 4 月 3 日
How did you get the curve ? By a functional equation ? Only by data points ?
Amy Topaz
Amy Topaz 2022 年 4 月 3 日
By a functional equation

サインインしてコメントする。

回答 (1 件)

Torsten
Torsten 2022 年 4 月 3 日
f = @(x) [functional equation]
syms x
df = diff(f,x);
df_fun = matlabFunction(df);
x = xstart:0.01:xend; % define interval for which you want to get the slope
slope = df_fun(x);
plot(x,slope)

カテゴリ

Help Center および File ExchangeCalculus についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by