solving integral equation with differential function
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hein zaw
le 26 Déc 2018
Réponse apportée : madhan ravi
le 26 Déc 2018
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);
0 commentaires
Réponse acceptée
madhan ravi
le 26 Déc 2018
syms B(t)
f=1000;
T=1/f;
fun=((diff(B,t).^2))==0;
B=dsolve(fun);
Q=integral(matlabFunction(B),0,T);
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!