hey to all, thanks for reading this in advance. I want to calculate Surveillance_SignalFD and Reference_SignalFD as a matrix, where each rows corresponds to a different y_transmitter. The code I have, for each y_transmitter it calculates this variables, but on the next iteration it replaces the values of the previous one. I want to save all the values of each iteration in a matrix.
Thanks guys
Y_transmitter = waypoints(i);
Surveillance_SignalFD=(1/(R1+R2))*X_QPSK.*exp(-1*j*k0*(R1+R2));
Reference_SignalFD=(1/Rd)*X_QPSK.*exp(-1*j*k0*Rd);