solving integral equation with differential function

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by