Matla quite slow while display 1024x1024 matrix
Show older comments
Good morning,
I face an issue while displaying simple matrix using such a script:
N=4096; a=ones(N,N);
figure(); mesh(a)
Matlab take minutes to display the surface and once dislayed it takes some more minutes to get out a frozen state.
I am not an expert at all but it seems to me it can be connected to the Graphical processor.
mine is NVIDI Quadro P1000, I don"t know whether this is a well sized one.
Many thanks for your feedback
Frederic
13 Comments
Rik
on 24 Feb 2021
When I try this, I mainly see my CPU doing something.
You should note that the array you create is 4096x4096, not 1024x1024.
Frederic Cleva
on 24 Feb 2021
Walter Roberson
on 24 Feb 2021
"Matla quite slow while display 1024x1024 matrix" was your title
Frederic Cleva
on 24 Feb 2021
Walter Roberson
on 24 Feb 2021
For me the 4K mesh takes a small number of seconds to bring up (roughly 8 seconds.) . Spinning it is a bit laggy but not so bad.
Frederic Cleva
on 25 Feb 2021
Walter Roberson
on 25 Feb 2021
No, my computer is a 2012 iMac
Frederic Cleva
on 25 Feb 2021
Frederic Cleva
on 1 Mar 2021
Bjorn Gustavsson
on 1 Mar 2021
In my experience matlab becomes very slow when tasked to plot large number of lines. That might also affect mesh. Could you aviod this irritation by using imagesc, surf or some other plotting-function?
Frederic Cleva
on 1 Mar 2021
Walter Roberson
on 1 Mar 2021
I was running in MATLAB R2020b.
Frederic Cleva
on 2 Mar 2021
Edited: Frederic Cleva
on 3 Mar 2021
Answers (0)
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!