1 2 3 4 5 6 7 8 9 10 11 12
//Chapter 02:Basic Structures: Sets, Functions, Sequences, Sums and Matrices clc; clear; a=[] i=1 for i=1:10 for j =1:i mprintf("%d ",i) end end