Why unbiased integral result in matlab differ from actual value?

2 Ansichten (letzte 30 Tage)
Birhan Gezahegn
Birhan Gezahegn am 25 Sep. 2016
Kommentiert: Rik am 30 Jul. 2020
which type solver is appropriate for matlab integration?
  2 Kommentare
Walter Roberson
Walter Roberson am 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"
Rik
Rik am 30 Jul. 2020
@LMBSRT, why did you flag this as not appropriate?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Star Strider
Star Strider am 25 Sep. 2016
Bearbeitet: Star Strider am 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 Kommentare
Birhan Gezahegn
Birhan Gezahegn am 2 Okt. 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 am 2 Okt. 2016
If the input to the integrator has already been multiplied by the gain, then do not multiply the output by the gain.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by