Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function [] = DrawSquare( width, height)
- %DRAWSQUARE Summary of this function goes here
- % Detailed explanation goes here
- %running through the vertical gamut
- for y=1:height
- %running through the horizontal gamut
- for x=1:width
- %the symbol the square shall be composed of is '1'
- fprintf('1');
- end
- fprintf('\n');
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement