Function handle to randomly select the rows of ifft matrix for compressed sensing

1 view (last 30 days)
Can somebody tell me how can I write a function handle such that it selects the rows of the ifft matrix randomly. I need this function handle to pass it to the l1 minimization algorithm as I am dealing with a long signal and generating the full matrix causes memory issue.

Answers (1)

Adam
Adam on 1 Oct 2018
f = @( ) randi( numRows );

Community Treasure Hunt

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

Start Hunting!