필터 지우기
필터 지우기

Matrix problem

조회 수: 1 (최근 30일)
reez all
reez all 2012년 3월 13일
i have to generate an infinity matrix which larger than 1 billion and as i know matlab cannot do that and i need to convert to other software that can generate it. i have do some review and cannot find any of it, is anyone know about it?? please help me...

채택된 답변

Jan
Jan 2012년 3월 13일
Does "infinite matrix" mean, that the number of elements is infinite? And does "larger than 1 billion" mean, that the values are larger than 10^9? Or are you coming from a country with European counting and "billion" it is 10^12?
A [1e9 x 1] double vector needs 8 GB of free memory. A 64 bit Matlab version can handle this, if you have enough RAM. With a 768 GB machine storing e.g. [1e9 x 8] matrices should work fluently.
If you are talking aboud a [1e9 x 1e9] matrix, storing all elemnts is not possible with the current computers. If most of the elements are zero, a sparse matrix can hold such a large matrix.
  댓글 수: 1
reez all
reez all 2012년 3월 13일
1 billion is 10^9 and i have try using my matlab by use adjacency matrix, its only capable to run 4000x4000 for its maximum and using sparse matrix its only 5000x5000 still not enough for me. i need to generate the matrix at least 10^9x10^9 until infinite. however this matrix only consist 0 and 1. Infinite is refer to the size of the matrix.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by