Matla quite slow while display 1024x1024 matrix
이전 댓글 표시
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
Rik
2021년 2월 24일
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
2021년 2월 24일
Walter Roberson
2021년 2월 24일
"Matla quite slow while display 1024x1024 matrix" was your title
Frederic Cleva
2021년 2월 24일
Walter Roberson
2021년 2월 24일
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
2021년 2월 25일
Walter Roberson
2021년 2월 25일
No, my computer is a 2012 iMac
Frederic Cleva
2021년 2월 25일
Frederic Cleva
2021년 3월 1일
Bjorn Gustavsson
2021년 3월 1일
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
2021년 3월 1일
Walter Roberson
2021년 3월 1일
I was running in MATLAB R2020b.
Frederic Cleva
2021년 3월 2일
편집: Frederic Cleva
2021년 3월 3일
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!