quad for multi variable functions

조회 수: 4 (최근 30일)
frwmetric
frwmetric 2013년 5월 27일
I have a function which has 4 different variables and I want to find the numerical integration of it with quad command in case of just one variable. Is it possible?
for instance,
my functions f(x,y,z,t)
quad(f(x,y,z,t),x,0,inf)---> numerical integration in case of x
Therefore I need symbolic result...
Or do you have any other idea?

답변 (1개)

Matt J
Matt J 2013년 5월 27일
편집: Matt J 2013년 5월 27일
If you know the values of the other variables you could do
y=y0; %known fixed values.
z=z0;
t=t0;
quad(@(x) f(x,y,z,t), 0,largeNum)

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by