I have 2 NxN matrices (a and b) that I need to perform an operation on. Ideally I'd like to use an anonymous function to compute this elementwise all at once.
So far I have,
syms ta = rand(32,32);b = rand(32,32);Y = @(a,b) a.*exp(-t./b);Test = integral(Y(a,b),0,3);
Best Answer