Making sparse signal representation
Show older comments
How to make a sparse signal representation in matlab code.
Answers (1)
Image Analyst
on 26 Mar 2014
0 votes
Did you look up sparse in the help? Do you need further help?
4 Comments
Image Analyst
on 27 Mar 2014
Why are you even wanting to mess with sparse when you have only 1280 elements in your sample? That's so tiny that I wouldn't even bother with sparse. Now if you had tens of millions of elements, then you might have a case. But for something the size of a gnat's eyelash, why bother?
Tinkul
on 27 Mar 2014
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.
Categories
Find more on Sparse Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!