how to draw a grid in MATLAB???

28 visualizzazioni (ultimi 30 giorni)
Ambreen
Ambreen il 12 Giu 2011
i need to draw a grid for my code just as shown in the lnk
and then i want to generalize it,that is its size can be defined by user..it maybe 3x3 or 5x5 etc ...
then i want MATLAB to automatically label each point of the grid ..
Please help .. thanx

Risposte (1)

Wolfgang Schwanghart
Wolfgang Schwanghart il 12 Giu 2011
Hi,
take a look at Steve's blog, where he describes how to generate a pixel grid. Perhaps, this is what you want.
Cheers, W.

Categorie

Scopri di più su Resizing and Reshaping 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!

Translated by