Diagonals in a Square
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Can anyone tell me how to write an M-file for graphing two diagonals on a Square shape graph by using the 'plot' command?
0 Commenti
Risposte (1)
Walter Roberson
il 26 Feb 2016
X = 11.38; %size of square
plot([0 X X 0 0 X nan 0 X], [0 0 X X 0 X nan X 0])
axis equal
0 Commenti
Vedere anche
Categorie
Scopri di più su Operating on Diagonal Matrices in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!