Making sparse signal representation

1 view (last 30 days)
Tinkul
Tinkul on 26 Mar 2014
Commented: Image Analyst on 27 Mar 2014
How to make a sparse signal representation in matlab code.

Answers (1)

Image Analyst
Image Analyst on 26 Mar 2014
Did you look up sparse in the help? Do you need further help?
  4 Comments
Tinkul
Tinkul on 27 Mar 2014
Suppose i have an image of size 255x255.I have to make it sparse. Then how can I make it sparse? And how can find sparsity of that image.Please help....
Image Analyst
Image Analyst on 27 Mar 2014
From the help:
S = sparse(A) converts a full matrix to sparse form by squeezing out any zero elements
So, how many zeros are in your image? And your image is so tiny that I wonder why you're even bothering with sparse. I never use it and I deal with a lot bigger images than that.

Sign in to comment.

Categories

Find more on Sparse Matrices in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!