help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help : how to load only a part of a matrix in octave


From: Markus Bergholz
Subject: Re: help : how to load only a part of a matrix in octave
Date: Sun, 3 Jun 2012 09:17:58 +0200

On Sun, Jun 3, 2012 at 7:32 AM, tharaka weheragoda
<address@hidden> wrote:
> Hi everybody,
>   I have a huge matrix and a vector to multiply.Is there any way to load
> only a part of this huge matrix at a time when doing multiplication? looking
> forward a soon reply.


m(:,10:20) takes just columns 10 to 20 of you matrix.
m(5:10,:) takes just row 5 to 10 of you matrix
you can combine it too
m(2:8,12:15) takes row 2 to 8 and column 12 to 15.

but i don't know if this is what you want?

regards
markus

>
> Thanks in advance!
> tharaka
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave
>



-- 
icq: 167498924
XMPP|Jabber: address@hidden


reply via email to

[Prev in Thread] Current Thread [Next in Thread]