code:
v=[1 2 3 4];v=[5 6 7 8 9];v=[10 11 12 13 14 15];for v = [1 2 3 4]disp(v)endIn the above code could anyone help me how to display v=[1 2 3 4];v=[5 6 7 8 9];v=[10 11 12 13 14 15]; together using the same for loop.
for loop
v=[1 2 3 4];v=[5 6 7 8 9];v=[10 11 12 13 14 15];for v = [1 2 3 4]disp(v)endIn the above code could anyone help me how to display v=[1 2 3 4];v=[5 6 7 8 9];v=[10 11 12 13 14 15]; together using the same for loop.
Best Answer