Matrix integration using integral(M​ATLAB_func​tion)

5 vues (au cours des 30 derniers jours)
ARNAB PAL
ARNAB PAL le 19 Sep 2019
Dear sir,
I have a question that if the function is a matrix function like,
f=@(x,y) K_2*exp(A*(x(i)-y))*B*u;
where K_2 is a (3*6) matrix,A is a (6*6) matrix ,B is (6*3) and u is (3*1) matrix. I want to find g=@(x) integral(@(y) f(x,y),0,x(i)) but when I use this it is not giving the output as a (3*1) vector?
Finally I want to find w=u-(K_2*exp(A*x(i))*X) where X is (6*1). How we can use the integral function to solve this problem.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by