About integration on matlab 2018b

How can i integrate a function using a parameter and the result containinng this parameter?

Antworten (1)

Rushil
Rushil am 31 Jan. 2025

0 Stimmen

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 Symbolic Math Toolbox finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 12 Jun. 2021

Beantwortet:

am 31 Jan. 2025

Community Treasure Hunt

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

Start Hunting!

Translated by