About integration on matlab 2018b

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

回答 (1 件)

Rushil
Rushil 2025 年 1 月 31 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeProgramming についてさらに検索

タグ

質問済み:

2021 年 6 月 12 日

回答済み:

2025 年 1 月 31 日

Community Treasure Hunt

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

Start Hunting!

Translated by