compute the indefinite integral
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
how can I compute the indefinite integral of an anonymous function?
f=1010;
d= 0:0.0001:8;
z = @(d) sawtooth(2*pi*f*d+pi,0);
3 Commenti
Risposta accettata
Torsten
il 23 Ott 2022
f = 1010;
z = @(d) sawtooth(2*pi*f*d+pi,0);
dstart = 0.0;
dend = 0.01;
delta_d = 1e-5;
d = dstart:delta_d:dend;
intz = cumtrapz(d,z(d));
hold on
yyaxis left
plot(d,z(d))
yyaxis right
plot(d,intz)
hold off
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Calculus in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
