The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 408 Weeks Ago, 4 Days Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016

Show transcribed image text Consider the MATLAB subroutine sumcos shown below. Explain in detail what this function does and how it does it. function xx = sumcos(f,X,fs,dur) % SUMCOS Function to generate a sum of cosines % usage: % xx = sumcos(f,X,fs,dur) % f = row vector of frequencies % X = row vector of complex phasors % fs = sampling rate % dur = total time duration of signal % Note: % f and X must be the same length. % xx = real (X*exp(i*2*pi*f*(0:l/fs:dur));
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------pos-----------ted----------- so-----------lut-----------ion-----------.Pl-----------eas-----------e p-----------ing----------- me----------- on-----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be-----------