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

This preview shows page 1 - 2 out of 2 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_BP(num, Wvec, Rvec, Kvec, dvec, kvec, rllseq, input, ident) % Simulations of Random Demodulator(RD) using RLL sequences. % Reconstruction is done using Basis Pursuit and the 'yall1' package. % % '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('./functions/YALL-b6/'); savefile = ['./tempdata/tempsavefile' num2str(ident)]; % number of iterations for each 4-tuple (K,R,W,d) num_iter = num; % RD Parameters W_vec = Wvec; % DFT (signal) size R_vec = Rvec; % Sampling rate K_vec = Kvec; % Sparsity level
Image of page 1
Image of page 2

Want to read both pages?

You've reached the end of your free preview.

Want to read both pages?

  • 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