필터 지우기
필터 지우기

How displaying a matrix in its classical form ?

조회 수: 1 (최근 30일)
Mallouli Marwa
Mallouli Marwa 2016년 9월 6일
댓글: Mallouli Marwa 2016년 9월 6일
Hi I have a displayed matrix like this :
(1,1) 0.00075602592
(3,1) 0.00013085064
(4,1) -8.00127432e-07
(2,2) 1.25066072448e-08
(3,2) 8.00127432e-07
(4,2) -4.6899777168e-09
(1,3) 0.00013085064
(2,3) 8.00127432e-07
(3,3) 0.00037801296
(4,3) -1.354061808e-06
(1,4) -8.00127432e-07
(2,4) -4.6899777168e-09
(3,4) -1.354061808e-06
(4,4) 6.2533036224e-09
But, i want that is displayed in the classic form of a matrix.
How can i do it ?

답변 (1개)

Adam
Adam 2016년 9월 6일
I assume you have a sparse matrix so:
full( myMatrix );
should convert it to a normal matrix.
  댓글 수: 3
Thorsten
Thorsten 2016년 9월 6일
Use
myMatrix = full(myMatrix);
Mallouli Marwa
Mallouli Marwa 2016년 9월 6일
Thanks

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

카테고리

Help CenterFile Exchange에서 Language Fundamentals에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by