Perform a program that graphs the letter "x inside a box" of size n
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Perform a program that graphs the letter "x inside a box" of size n
0 Commenti
Risposte (1)
tesarj13
il 26 Ott 2018
box_size = 100;
box = zeros(box_size);
v = 1:box_size+1;
box(1:box_size+1:end) =1;
box(box_size:box_size-1:end) =1;
imshow(box)
Is that what you want?
0 Commenti
Vedere anche
Categorie
Scopri di più su Get Started with MATLAB in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!