필터 지우기
필터 지우기

Hello! I am facing problem in multiplication of 2 matrices.

조회 수: 1 (최근 30일)
aliha wasim
aliha wasim 2016년 6월 15일
댓글: Steven Lord 2016년 6월 16일
I have a audio matrix of size 77720 X 1. I have to multiply it with a image matrix.I have converted image to 1D and change its type to double so that both matrices are of same type.Image matrix size is 1 X 77720. Both matrices are of type double.
Error using ==> mtimes
Out of memory. Type HELP MEMORY for your options.
this is the error I am having when I do mul=a*b

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2016년 6월 15일
Your result is a 77720x77720 double array, which is almost 50 Go of data, it can not be handled by Matlab. to know your limits, Type
memory
  댓글 수: 2
aliha wasim
aliha wasim 2016년 6월 16일
Can you tell if I can somehow decrease the size of my image matrix from 77720?
Steven Lord
Steven Lord 2016년 6월 16일
Sure.
IM = rand(1, 77720);
IM = IM([]); % reduces it to a 0-by-0
Perhaps if you describe in more detail exactly what you're hoping to compute with this multiplication someone can offer suggestions about how to do what you want without creating a 50 GB matrix.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by