The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: very large array
Replies: 18   Last Post: Jun 26, 2013 2:53 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Lorenzo Quadri

Posts: 8
Registered: 6/24/13
very large array
Posted: Jun 24, 2013 9:26 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi I'm a newbie in matlab, I have a very large array (circa 400 million rows and 7 columns of uint8 type), I've to delete about 100 million elements i tried this kind of operation but it's very very slow.

for i=1:length(dati)
if (( int ( sum(dati(i,:) ))<355) & range(dati(i,:))>20)
dati(i,:) = [];

I tried to copy elements in an other array but is slow too.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.