R =
Integral2 MATLAB Function Error: Q = integral2Calc(fun,xmin,xmax,yminfun,ymaxfun,opstruct);
Afficher commentaires plus anciens
Hello,
I am facing an error with the "integral 2" function in MATLAB.
This is the integral I am trying to perform in MATLAB.
See screenshot attached:
Integration_MATLAB.png
Essentially, I made my integration variables "z" and "z_prime" symbolic variables in MATLAB.
This is so that I can use them throughout my analytical process of creating the equation "K".
The equation "K" is a function of "z" and "z_prime".
After I calculate K, I specify my integration boundaries for "z" and "z_prime". Then I "convert" to a "MATLAB Function"
For some reason, I keep getting the error: Q = integral2Calc(fun,xmin,xmax,yminfun,ymaxfun,opstruct);
I've tried looking up this error up for other cases on the MathWorks forum. I wasn't able to find something that was relevant to my case.
I've tried using the "trapz" integration function in MATLAB but I wasn't able to get anywhere with that either.
I have attached my code for reference
See code attached:
Using_Integral_2_Function.m
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Numerical Integration and Differentiation dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
