Clear Filters
Clear Filters

Why unbiased integral result in matlab differ from actual value?

3 views (last 30 days)
which type solver is appropriate for matlab integration?
  2 Comments
Walter Roberson
Walter Roberson on 26 Sep 2016
What do you mean by "unbiased integral" in this situation? About the only thing I can see that might be related to that is a paper on "Feynman's Integral is About Mutually Unbiased Bases"

Sign in to comment.

Answers (1)

Star Strider
Star Strider on 25 Sep 2016
Edited: Star Strider on 25 Sep 2016
It depends on what you’re doing and what your objective is. To do symbolic integration use the Symbolic Math Toolbox int function, for numeric functions the integral function, and for data vectors or matrices, trapz. These are for the current (and recent) MATLAB releases, they go by other names in older releases.
EDIT Corrected typographical error.
  2 Comments
Birhan Gezahegn
Birhan Gezahegn on 2 Oct 2016
yes , it is ok for the above cases. but i am using an integrator block in simulation. Why the output ( integrator block) is very small, almost zero. For example,a sinusoidal signal with some gain k>1 supply to integrator block. Is it necessary to multiply the output with gain after integrating the signal?
Walter Roberson
Walter Roberson on 2 Oct 2016
If the input to the integrator has already been multiplied by the gain, then do not multiply the output by the gain.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!