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