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: Matrix manipulation/comparison
Replies: 3   Last Post: May 9, 2013 2:26 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Elnaz Sadeghian

Posts: 206
From: Tehran, Iran
Registered: 5/26/07
Matrix manipulation/comparison
Posted: May 9, 2013 10:43 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi all,
I have a big 3-D matix that I want to squueze into a 2-D one while picking up the values that are bigger in absolute magnitute in the third dimension:
x = s(:,:,in);
s is the 3D matrix of size 5 X 20480 X 2. So I want to squeeze it along the 3rd dimension by comparing the values.
I get the "out of memory" error. I don't want to use loops. How can I address this problem?


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.