フィルターのクリア

solving integral equation with differential function

1 回表示 (過去 30 日間)
Hein zaw
Hein zaw 2018 年 12 月 26 日
回答済み: madhan ravi 2018 年 12 月 26 日
I want to solve this equation in matlab. integral(0 to T) is (dB/dt)^2 dt. I know the B and t data and i wrote this codes. But it still wrong. Thanks.
f=1000;
T=1/f;
fun=@(t) (diff(B,t).^2);
Q=integral(fun,0,T);

採用された回答

madhan ravi
madhan ravi 2018 年 12 月 26 日
syms B(t)
f=1000;
T=1/f;
fun=((diff(B,t).^2))==0;
B=dsolve(fun);
Q=integral(matlabFunction(B),0,T);

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by