The equation for the voltage v(t) across a capacitor as a function of time is...

4 次查看(过去 30 天)
please see attached file for the question details:

回答(1 个)

KSSV
KSSV 2017-12-4
N = 500 ;
t = linspace(0,7,N) ;
i = @(t) 0.3+0.1*exp(-5*t).*sin(25*pi*t) ; % current
i = i(t) ;
plot(t,i) ;
Read about sum, trapz to get the integration.

类别

Help CenterFile Exchange 中查找有关 Numerical Integration and Differentiation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by