Ann Veteran 356 Posts user info edit post |
Hey,
Anyone knows how to do the last part of 10-5, I got it up 'til the part d, building the detection filters and getting y1[n], any help is greatly appreciated!
This is what I have so far for that part, but I am getting errors: for n = 1:400 for m = 1:50 h1(m) = p1(50+1-m) end y1(n) = h1(m)*s1(n+1-m); end ??? Subscript indices must either be real positive integers or logicals.
Error in ==> hw10prob5 at 58 y1(n) = h1(m).*s1(n+1-m);
Thanks, Ann :-D 3/21/2006 5:27:15 PM |
Pi Master All American 18151 Posts user info edit post |
10-6 is gonna suck, since I put in a while loop to keep generating spreading sequences until they're orthogonal. For M=50, that was fine... but M=1000?
This might take a while.
[Edited on March 21, 2006 at 7:56 PM. Reason : Yeah, that took a few minutes] 3/21/2006 7:49:52 PM |