I have a nested parent function that operates on multiple matrices using other functions. I then want to return individual matrixes to others. Ive listed toy code below as a general example of what im trying to do:
% id like to return these matrices in a wat so that i could assign them elsewhere like:
% g = fun(d)
function fun1 = fun(a, b,c,n) for i = 1:1:lentgth (n) d(i) = add(a(i),b(i)); e(i) = subtract(a(i),c(i)); f(i) = multiply(b(i),c(i)); endend
Best Answer