draw empty box by use for loop

if some one can help to correct this code we need function to read ch like * and width ,length from user and draw the box
for 1:h
disp('*');
for 1:w
2:end-1 ,2:end-1 = char;
if true
% code
end
end
end
i could not write correct code ???

답변 (0개)

이 질문은 마감되었습니다.

태그

아직 태그를 입력하지 않았습니다.

질문:

2016년 12월 4일

마감:

2016년 12월 5일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by