RDsims_Lasso - Author Andrew Harms Date Copyright(c 2013 by...

This preview shows page 1 - 2 out of 3 pages.

% Author: Andrew Harms % Date: 03/31/2013 % Copyright (c) 2013 by Andrew Harms. This work is made available under % the terms of the Creative Commons Attribution-ShareAlike 3.0 license function y =... RDsims_Lasso(num, Wvec, Rvec, Kvec, dvec, kvec, SNR, rllseq, input, ident) % Simulations of Random Demodulator(RD) using RLL sequences. % Reconstruction is done using the SpaRSA package (essentially Lasso). % % 'num' is the number of iterations to run for each set of parameters. % % Use Wvec, Rvec, Kvec, dvec, and kvec for the desired parameter % W, R, K, d, and k to run. Note: 'dvec' and 'kvec' must be of equal % length. % % 'rllseq' specifies what type of random chipping sequence to use: % 'general' % 'repcode' % % 'input' specifies whether to use a matched input signal distribution % or a uniform input signal distribution % % 'ident' is an identifier for the saved file addpath('./SpaRSA_2/'); verbose = 0; % Produce extra logs to the MATLAB command line savefile = ['./tempdata/tempsavefile' num2str(ident)]; % File to save data % number of iterations for each 4-tuple (K,R,W,d) num_iter = num; % RD Parameters
Image of page 1

Subscribe to view the full document.

Image of page 2
  • Fall '15

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern