I am taking a different approach but still can't get it to work.
For the initial movement I got it, but after a time delay I can't seem to figure it out. I want the vector to move when 12<t<=22, but when I type the inequality into a conditional it seems to not be working. Here is the code...
Hi, I am trying to model an intersection using different rules but I am having a hard time getting the thing to work in the simplest stage. I know there is probably an easier way to do this but I am trying to do it this way:
clear
grid=zeros(10,10); %grid creation
grid2=zeros(10,10)...
Hi, I have a document with a whole bunch of header information and description. After about 20 lines it goes into the useful data. Each line of data is formatted like this:
P 1 1234.939 1234.505 1234.505 102
where P just denotes that it is data, 1 is a satellite number and the data is X...
I looked at resample. The problem is that the Xb code is just made with modulo 2 addition and has no real time. Xc is a continuous sin(2*pi*f1*t) where f1 is a frequency at t is taken every 1/5.714286e6 seconds. Xb is just a number of discrete values (a BPSK signal).
In reality Xb changes...
I have been wracking my brain trying to figure this out. I have a 1xn vector I have gained through signal processing. I am multiplying it to another 1xn vector with a different scale.
the first vector Xb moves to the next value every 1/1.023e6 seconds
the second vector Xc moves to the...
I see what you are doing there. I have been looking at arrays but tried to implement them all wrong at the end. I remade the code with the arrays as a part of every variable. It now looks like this:
N=32;
count=1;
k10=zeros(1,N);
k10(1)=1;
k9=zeros(1,N);
k9(1)=1;
k8=zeros(1,N)...
Hello, I am taking a class on GPS navigation. Our homework is to construct a signal based on 10 initial condition values and use modelo-2 arithmetic to get each subsequent value. I have gotten this to work. However, I am only able to see the final 10 values the way I have it set up. I am...