I created a Matrix function using function handle @ like
A=@(x) [1 2 x; 2*x x.^2 3]; %it's an example
i need to create another function extracted from the previous one
B=@(x) A(x) without the second column
therefore size(A)=2×3 and size(B)= 2×2;
if it wasn't for the handle: B=A(:,[1 3])
ty for your help
Best Answer