//n<3 clear; clc; close; x=string(0:10); n=string( '<'+strcat(x,'---')+'>'); //0 to 10 no. line strsubst(n,'0---1---2---','____________') disp('the SOLID LINE specifies region n<3')