integration
1 view (last 30 days)
Show older comments
hi, i have this integral: y(t)=integral(C(t)*dt)
i need to plot y=f(t) how i can do it?
thanks in advance
1 Comment
Jan
on 18 May 2011
Use an integrator to integrate C. Then call PLOT to draw the results. Please post any details.
Answers (1)
John D'Errico
on 18 May 2011
For a numeric vector, just use cumtrapz. For a symbolic function, just evaluate the integrated C(t) at a list of points to plot.
2 Comments
See Also
Categories
Find more on Calculus in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!