필터 지우기
필터 지우기

How to convert numeric matrix into sparse matrix

조회 수: 5 (최근 30일)
bavani marimuthu
bavani marimuthu 2017년 12월 19일
댓글: Jan 2017년 12월 19일
I have a numeric matrix which the charcter
str =
Hello
a =
72 101 108 108 111 32
a = double(str)
Now i want to convert this numeric matrix into sparse matrix. Kindly help
  댓글 수: 1
Adam
Adam 2017년 12월 19일
There isn't any value, as such, in creating a sparse matrix from a matrix containing no, or very few, zeros.

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

답변 (1개)

Birdman
Birdman 2017년 12월 19일
  댓글 수: 1
Jan
Jan 2017년 12월 19일
+1. :-)
@bavani: If you have a question about a certain feature, start with searching for it:
docsearch sparse
If this does not help, search in the internet. If there are still open questions, the forum is a good idea.

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

카테고리

Help CenterFile Exchange에서 Sparse Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by