how can i display 5 row lines of pixel values ?

Answers (1)

Im(1:5,:,:)

5 Comments

thank you for answer but it's give an error.Can you give me complete code ?
If Im is a 10x10 array
% For example
Im=rand(10)
out=Im(1:5,:)
thank you it's work.sorry i didn't see.where is writing pixel values ?
You are asking the question, you have to tell us!
It's "writing" the pixel values when it transfers the pixel values to the new array Azzi called "out".

Sign in to comment.

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Tags

Asked:

on 20 Oct 2013

Commented:

on 12 Nov 2013

Community Treasure Hunt

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

Start Hunting!