About integration on matlab 2018b

2 views (last 30 days)
rasha atwa
rasha atwa on 12 Jun 2021
Answered: Rushil on 31 Jan 2025
How can i integrate a function using a parameter and the result containinng this parameter?

Answers (1)

Rushil
Rushil on 31 Jan 2025
Hi there
From the question I assume that the task is to compute the indefinite integral of a function with respect to a certain variable. This can be accomplished using the “int” function. More details about this function can be found here:
The documentation for the “int” function states that it was introduced before R2006a. Also, here is an example from the documentation that shows its usage:
syms x z
f(x,z) = x/(1+z^2);
F = int(f,x) % integrate f with respect to x
F(x, z) = 
Hope it helps you
larush

Categories

Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!