function box1( l, m)
%UNTITLED Summary of this function goes here
% Detailed explanation goes here
%Define parameter
M1=[l, m];
fin=fopen('d://box1.txt','wt');
fprintf(fin,' XY %g: %g \n',M1);
function box1( l, m) %UNTITLED Summary of this function goes here % Detailed explanation
Share
Are l and m column vectors that you want to iterate through? In that case you could write:
It’d be better if you clarified that though.