이 질문을 팔로우합니다.
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다.
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다.
Matla quite slow while display 1024x1024 matrix
조회 수: 2 (최근 30일)
이전 댓글 표시
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일
Many thanks for the fast feedback Rick,
4096x4096, yes indeed, did I suggest that it was a 1024x1024 one?
I check the information given through the task managr and it says that the processor is occupied at 15% and memory requires 5 Go while the GPU is not that active. You are right.
I thought it could be related to graphical issue because any trial to move the 3D surface within the plot takes more than few minutes...
Did you get the same feature? Or does the 3D image gently follow when you drag with your mouse?
Thanks again for the help
Frederic
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일
Many thanks Walter,
is your computer something specifically boosted?
my laptop is a DELL recision 5530 with Intel Core i7-8850H CPU@ 2.6GHz / 16 Go RAM and two Graphics cards "NVIDIA Quadro P1000 " and Interl UHD Graphics 630. At least this is what mentionned from the peripheric manager.
I guess those values are not that bad
Frederic
Frederic Cleva
2021년 2월 25일
Hum...
I run it on the laptop of a colleague with the same disapointing results. (for 4096^2 matrix)
Frederic Cleva
2021년 3월 1일
Hi everyone,
Some tracks:
when I run my script (4096x4096 matrix display) with matlab 2012 it takes only 10sec when I run whith older relaease (2018) it takes ages (minutes...).
Walter, do you run matlab 2012? or some not recent version?
In this specific case it seems worth to make the calculation with maltalb and ask another application fr the display
Many thanks
Frederic
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일
Many thanks Bjorn,
you make the point!!
Indeed with imagesc() it runs within few seconds instead of minutes for mesh() and surf() .
Frederic
Frederic Cleva
2021년 3월 2일
편집: Frederic Cleva
2021년 3월 3일
what I know now:
matlab2020b + mesh(4096) + Imac2012 = few sec
matlab2012 + mesh(4096) + laptop DELL Precision5530 = few sec
matlab2018b + mesh(4096) + laptop DELL Precision5530 = few minutes
matlab2019a + imagesc(4096) + laptop HP ProBook (very basic) = few sec
I just installed matlab2020b, and now:
matlab2020a + imagesc(4096) + laptop DELL Precision5530 = few sec
and back to matlab2018b:why
matlab2018b + imagesc(4096) + laptop DELL Precision5530 = few sec
Conclusion:
my pb is solved but I don't understand how.
(By the way it is not specific to my laptop since a colleague faces the same issue)
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Graphics Performance에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!오류 발생
페이지가 변경되었기 때문에 동작을 완료할 수 없습니다. 업데이트된 상태를 보려면 페이지를 다시 불러오십시오.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
아시아 태평양
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)