MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Asked by Fatemeh Parvari
on 5 Jul 2012

I want to add a picture to matlab , and need this image's matrix too. and I don't have more information from image proccessing. have you some matlab command to do this?

*No products are associated with this question.*

Answer by Ryan
on 8 Jul 2012

Accepted answer

do you have the image processing toolbox? if so:

I = imread('imagename.extension');

The result will be a 2- or 3-D matrix `I` which can be visualized by the command `imshow`

figure(1), imshow(I)

Answer by Fatemeh Parvari
on 10 Jul 2012

Edited by Fatemeh Parvari
on 10 Jul 2012

I want to simulate a radar display. And need I add a binary image so that I could refresh my page every time. Can someone help? And I would like to speak with him? at a meesanger, for example.

## 2 Comments

## Yash (view profile)

Direct link to this comment:http://nl.mathworks.com/matlabcentral/answers/42797#comment_88452

picture to matlab file??? didnt get you u can read a picture using imread

## Walter Roberson (view profile)

Direct link to this comment:http://nl.mathworks.com/matlabcentral/answers/42797#comment_88493

Fatemeh, when you re-open an Unclear question, you need to provide more details so that people can answer the question.