How to solve integral numerically in Matlab?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
if R=integral(10*exp(-60/{T(t)*Ni(x)}*Ni(x)), integral limit, x=0 to x=10 Ni(x) is 1-D interpolation function as used in finite element method, T is function of time, shape function is function of length. How to solve integral in Matlab if using "Gauss quadrature rule" or if there some command guidance to be written in code. Please I need guidance.
Thank you
1 Kommentar
Jan
am 22 Sep. 2017
Is this integral a function of t or of x?
Did you read the documentation already?
doc integral
Antworten (1)
Walter Roberson
am 22 Sep. 2017
If your interpolation does not have continuous first derivatives (linear interpolation does not) then you need to use the waypoints parameter of integrate() to designate all of the change points as waypoints.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Numerical Integration and Differential Equations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!