Not enough ram memory to perform a function
이전 댓글 표시
Hi, I'm aware that this function cannot be performed due to the dimensions of the matrices (picture attached) and not having enough ram memory, but is there any function in which Matlab could work on the data in chunks to reduce the load on the RAM? Thanks
댓글 수: 2
James Tursa
2018년 3월 2일
Please give us the dimensions of the variables involved, and what you intend to do with the results downstream in your code.
Ricardo Higinio Picon Alvaro
2018년 3월 3일
답변 (1개)
Walter Roberson
2018년 3월 2일
0 개 추천
The code you give the image for would not return an index anyhow.
I suspect that what you need is ismember(), and that possibly you might want the second output as well as the first.
댓글 수: 2
Ricardo Higinio Picon Alvaro
2018년 3월 3일
Walter Roberson
2018년 3월 3일
I have doubts that creating that matrix is going to be beneficial .
Performance on any kind of look-up using the result is going to be rather bad. It seems likely to me that you could get rather better performance by working with marginal indices and sorted arrays and binary searches, or perhaps by using containers.Map
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!