Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
How can I generate an integral of some 2-d functions?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
For example, there is a function for variables, x,y.
The range of x,y are [0,500], respectively.
The function is just random and It is over 0.
How can I generate the integral of the function?
2 Kommentare
Anirudh Singh
am 18 Mai 2020
You can use function integral2 for 2-d integral here.
Example:
f = @(y, x) x.^2 + x.*sin(y).^2; % suppose this is our function
integral2(f, xmin, xmax, ymin, ymax);
For more detail you can refer the documentation link of function: https://in.mathworks.com/help/matlab/ref/integral2.html
Antworten (0)
Diese Frage ist geschlossen.
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!