Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: breaking up a large matrix before loading into matlab
Date: Fri, 3 Jul 2009 06:44:01 +0000 (UTC)
Organization: Universit&#228;tsSpital Z&#252;rich
Lines: 22
Message-ID: <h2k9bh$6kc$1@fred.mathworks.com>
References: <18789979.66027.1246568708618.JavaMail.jakarta@nitrogen.mathforum.org> <h2k8dh$6uc$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1246603441 6796 172.30.248.37 (3 Jul 2009 06:44:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 3 Jul 2009 06:44:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 11
Xref: news.mathworks.com comp.soft-sys.matlab:552612


"Sprinceana " <mihaispr@yahoo.com> wrote in message <h2k8dh$6uc$1@fred.mathworks.com>...
> For example if your big matrix (stored in variable) is 720x960 and you want to load only 10*10:
> 
> 
> img=imread('poza.jpg');imshow(img);
> 
> 
> >>whos img
> 
>   Name      Size                    Bytes  Class
> 
>   img     720x960                  691200  uint8 array
> 
> Make this (to store only 10*10 part of that matrix):
> 
> small_img=img(1:10,1:10);
> imagesc(small_img);

SO... you end up having the BIG -AND- the SMALL matrix in your workspace...
how does this help the OP...

us