How do you evaluate the resultant function on int in time?

Im trying to model the Charge density and for that i need to integrate my current function for which i used int and i have to evaluate it from 0 seconds to 1 second and plot it but i keep getting 0....
this is what i need to do (equation):
my current equation (I) = sin(4*pi*5000*t)

Answers (1)

If you only need to code it and plot it, one approach would be to use the Symbolic Math Toolbox int and fplot functions.
.

Products

Release

R2020a

Community Treasure Hunt

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

Start Hunting!