how do i dfferentiate u with respect to t?

조회 수: 4 (최근 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 CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by