How to convert numeric matrix into sparse matrix

11 ビュー (過去 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 Center および File ExchangeSparse Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by