matlab integration

fun = @(x) exp(-x.^2).*log(x).^2;
q = integral(fun,xmin,xmax)

4.22
9
DystopiART 130 points

                                    int(f)

4.22 (9 Votes)
0
0
0
Krs013 75 points

                                    q = integral(fun,xmin,xmax)
q = integral(fun,xmin,xmax,Name,Value)

Description
q = integral(fun,xmin,xmax) numerically integrates function fun
from xmin to xmax using global adaptive quadrature and default error tolerances.

q = integral(fun,xmin,xmax,Name,Value) specifies additional options
with one or more Name,Value pair arguments.
For example, specify 'WayPoints' followed by a vector of real or complex
numbers to indicate specific points for the integrator to use.

Example1:
fun = @(x) exp(-x.^2).*log(x).^2;
q = integral(fun,0,Inf)		% Evaluate integral from 0 to infinity

Example2:
TOL = eps;
fun = @(x) exp(-x.^2).*log(x).^2;
q = integral(fun,0,Inf, 'AbsTol', TOL)		% Evaluate integral from 0 to infinity with tolerance TOL

0
0
Are there any code examples left?
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
integrales en matlab how to do integration in matlab matlab continuous integration matlab intergate matlabs integration matlab numerical integration matlab simple integration matlab syms integral how to write integration in matlab how to do integrals in matlab integrals matlab matlab code for integration integral definida en matlab integration using matlab how to make an integral function in matlab matlab defined integral matlab integrale matlab integrals how to use a integral in matlab' integrales matlab integral definida matlab matlab integral definida matlab integral defenido matlab integral variable matlab integration function integral2 matlab numerical integral matlab integral a functon matlab integral syntax matlab matlab matrix a integral integration matlab code how to use a integral in matlab mylab math integral matlab' matlab integral of inline function matlab intergral how to do an integral in matlab integral matrix matlab defined integral matlab integral numerical matlab integral in matlab. integral matlab. integral function in matlab integral of matrix matlab computing integral matlb antiderivative matlab matlab integral function how to use integral in matlab Matlab command for integration of a ftn in given interval matlab calculate integral of function matlab calculate integral integrate matlab matlab to integrate the function 0to 5 integral in matlab over limits numeric integration matlab calculate integral matlab matlab programming for intergral computation matlab integrall integral matlab example how to take a nintegral in matlb integral function matlab integral command matlab integrais matlab integral command how to integrate using matlab integral matlab code integral calculator matlab code integral calculator matlab calculate integral in matlab matlab integration with term matlab integration simply solve integrals using mathlab matlab integration simplly matlab definite integral numerical matlab integration how to integrate a function in matlab integrations in matlab integrate in matlab numerical integration matlab matlab integrate a function matlab symbolic integration how to integrate in matlab symbolic integration in matlab matlab integrate how to do integral in matlab integration in matlab matlab take integral integrals in matlab html matlab integration function integral matlab matlab sinmple integral finite integral matlab symbolic integration matlab integration matlab integral in matlab integral matlab function numerical integration in matlab code int() matlab numerical integration in matlab integral matlab matlab integral
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source