Integrating with a static starting value and changing end value
古いコメントを表示
My code so far is:
Cp= @(T) 0.132+1.56e-4.*T+2.64e-7.*T.^2;
dT=linspace(0,300);
T0=-100;
dH=integral(Cp,T0,dT); %does not work yet
plot(dT,dH)
box on
I was wondering how I can make the integral work for this when T0 is a constant and dT isn't. I have tried using T0=-100*ones(size(dT));, but it didnt help
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Numerical Integration and Differentiation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!