how do i dfferentiate u with respect to t?

1 回表示 (過去 30 日間)
Chukwunememma Uponi
Chukwunememma Uponi 2019 年 11 月 30 日
編集済み: Walter Roberson 2019 年 11 月 30 日
mi=2290000;
mf=130000;
tb=165;
t=linspace(0,165);
mr=mi-((mi-mf)*(t/tb));
hold all
g = 9.81;
Isp=263;
u=g.*(Isp.*log(mi./mr)-t);
f1=figure;
plot (t,u, 'red')
p = cumtrapz(t,u);
f2=figure;
plot(t,p, 'blue')

採用された回答

Walter Roberson
Walter Roberson 2019 年 11 月 30 日
編集済み: Walter Roberson 2019 年 11 月 30 日
gradient(u, t(2)-t(1))

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by