Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Limitation of Matlab handling size of Matrix

Subject: Limitation of Matlab handling size of Matrix

From: wyvern

Date: 15 Dec, 2002 04:17:04

Message: 1 of 8

Hi,


I am currently a student and a novice to Matlab. I was using MatLab
as a platform for my final year project, writing a simulation program
to simulate "ray tracing" for wireless communications.


This involves 3D generation of images. I would like to know whats the
limit that MatLab can handle for matrix's ?. Because, I have just
completed the source code generating 3D images coordinates and it is
in an exponential fashion. I experience hang up till I reach around
10000 data, is that the limit ?


Pls advise..


wyvern

Subject: Limitation of Matlab handling size of Matrix

From: Herbert Ramoser

Date: 16 Dec, 2002 09:13:52

Message: 2 of 8

wyvern wrote:
> Hi,
>
>
> I am currently a student and a novice to Matlab. I was using MatLab
> as a platform for my final year project, writing a simulation program
> to simulate "ray tracing" for wireless communications.
>
>
> This involves 3D generation of images. I would like to know whats the
> limit that MatLab can handle for matrix's ?. Because, I have just
> completed the source code generating 3D images coordinates and it is
> in an exponential fashion. I experience hang up till I reach around
> 10000 data, is that the limit ?

You can use the computer command to determine the max. number of
elements in a matrix. On my PC this number is 2.1475e+009. Note: the
physical limit (i.e. largest contingous memeory block) on your system
may be much smaller.

The

Subject: Limitation of Matlab handling size of Matrix

From: wyvern

Date: 16 Dec, 2002 03:32:54

Message: 3 of 8

Hi,


Can you explain how can I set this limit ?
Thanks in advance :)


Wyvern

Subject: Limitation of Matlab handling size of Matrix

From: Herbert Ramoser

Date: 16 Dec, 2002 12:51:02

Message: 4 of 8

> Can you explain how can I set this limit ?
> Thanks in advance :)

You can not set the limit. It is determined by the hardware architecture
(eg, 32 bit or 64 bit) and the operating system.

-Herbert

Subject: Limitation of Matlab handling size of Matrix

From: Peter Boettcher

Date: 16 Dec, 2002 09:22:06

Message: 5 of 8

wyvern <wyvern8@yahoo.com> writes:

> I am currently a student and a novice to Matlab. I was using MatLab
> as a platform for my final year project, writing a simulation program
> to simulate "ray tracing" for wireless communications.
>
>
> This involves 3D generation of images. I would like to know whats the
> limit that MatLab can handle for matrix's ?. Because, I have just
> completed the source code generating 3D images coordinates and it is
> in an exponential fashion. I experience hang up till I reach around
> 10000 data, is that the limit ?

No. You are likely to be limited by the memory in the computer long
before the maximum number of matrix elements becomes an issue. What
specifically is 10000? Do you create a 10000x3 matrix? Or a 10000
element cell array? What is the error you get? What do you mean by
"exponential fashion"?


--
Peter Boettcher <boettcher@ll.mit.edu>
MIT Lincoln Laboratory
MATLAB FAQ: http://www.mit.edu/~pwb/cssm/

Subject: Limitation of Matlab handling size of Matrix

From: W. Dale Hall

Date: 16 Dec, 2002 22:16:27

Message: 6 of 8



wyvern wrote:
> Hi,
>
>
> I am currently a student and a novice to Matlab. I was using MatLab
> as a platform for my final year project, writing a simulation program
> to simulate "ray tracing" for wireless communications.
>
>
> This involves 3D generation of images. I would like to know whats the
> limit that MatLab can handle for matrix's ?. Because, I have just
> completed the source code generating 3D images coordinates and it is
> in an exponential fashion. I experience hang up till I reach around
> 10000 data, is that the limit ?
>
>
> Pls advise..
>
>
> wyvern

You wouldn't be using the Student version of Matlab, by any chance? That
version used to have a fairly low limit for the size of matrices it
could handle.

Dale.

Subject: Limitation of Matlab handling size of Matrix

From: wyvern8

Date: 16 Dec, 2002 21:43:30

Message: 7 of 8

Hi,
thanks for all your reply.


Ok, what I am doing is to generate all possible images with respect
to all walls, planes in a coordinates system, in cartesian, that
means in [x,y,z]. However, I still cant figure out any way I can
'squeeze' these 3 coord's into a single cell.


That is to say, I will need a [1x3] matrix to store the coordinates
in cartesian form. My project on wireless comms prediction simulation
programs is to simulate the dominant path that the signal will take
when transmitting and using this program will help the user to
predict the most dominant path out of all possible path. Because,
signals will get attenuate along the path thru various reflection.


As the number of reflection under study get more and more, the size
of the matrix will also grow.


thanks again for all your help. Hope you can advise me again.. :)


wyvern

Subject: Limitation of Matlab handling size of Matrix

From: Steven Lord

Date: 17 Dec, 2002 09:14:21

Message: 8 of 8

W. Dale Hall wrote:


*snip*

> You wouldn't be using the Student version of Matlab, by any chance?
> That version used to have a fairly low limit for the size of matrices
> it could handle.

You're thinking of the old Student _Edition_, released by Prentice-Hall.
The Student _Version_, released by The MathWorks, is only limited in matrix
size by the largest contiguous memory block you have (and, technically, the
second output of the COMPUTER function. You're much more likely to hit a
limit with contiguous memory than you are to hit the COMPUTER limit,
though.) You may also be thinking of Simulink, which has a 300 block limit
on model size in the Student Version but no limit in the professional
version.

--
Steve Lord
slord@mathworks.com

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us