how to draw a grid in MATLAB???

조회 수: 28 (최근 30일)
Ambreen
Ambreen 2011년 6월 12일
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

답변 (1개)

Wolfgang Schwanghart
Wolfgang Schwanghart 2011년 6월 12일
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.

카테고리

Help CenterFile Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by