How to Print this Picture in Matlab?

Asked by Ping on 14 May 2012
Latest activity Commented on by Image Analyst on 14 May 2012

Hello everyone. I need help to draw this:

http://i49.tinypic.com/riarko.jpg

with matrix coding in Matlab. can you please provide me the code to this thing?

Thanks in Advance

2 Comments

Thomas on 14 May 2012

Looks like a homework problem..
We can only help if you show what you have done so far and where you are getting stuck..

Ping on 14 May 2012

Thanks for your reply. I really have no idea. never used Matlab myself. it's my first time. I just think maybe we could define a simple matrix like the below?

A=[*;**;***;****]

but then again it's not coding. it's just drawing a matrix. and also we get Error: Unexpected MATLAB operator. by using that line.

Ping

Tags

Products

No products are associated with this question.

1 Answer

Answer by Jan Simon on 14 May 2012

Where should this appear? In the command line, on paper, projected by a 3D laser?

I'd start with reading the "Getting Started" chapters in the documentation. Especially the disp and fprintf command will be helpful. Learn more by typing this in the command line:

help disp
doc disp
help fprintf
doc fprintf

2 Comments

Ping on 14 May 2012

Hello. I need to write the code in command line.

Image Analyst on 14 May 2012

Then you can use fprintf() or disp(). Give one or both a try.

Jan Simon

Contact us