About integration on matlab 2018b

3 Ansichten (letzte 30 Tage)
rasha atwa
rasha atwa am 12 Jun. 2021
Beantwortet: Rushil am 31 Jan. 2025
How can i integrate a function using a parameter and the result containinng this parameter?

Antworten (1)

Rushil
Rushil am 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

Kategorien

Mehr zu Programming 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!

Translated by