Solve Using Matlab Q37096488

can you solve this using MATLAB
media%2F6e9%2F6e9f4541-82e2-4594-a204-e1


Solution


%Question1.mfor i=1:5 for j=1:5 if(i>j) fprintf(” “); else fprintf(“* “); end end fprintf(“n”);end

===============================

%Question2.mfor i=1:5 for j=1:5 if(i==j || (i+j==6) || j==1 || j==5)

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.