A question about signal processing
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi everyone and happy new year!
here is my question:
i'm doing some radio signal processing with SP toolbox in MATLAB. because of the high number of virtual radio antennas that i'm working on , I want to know if there is anyway to make the process faster.
here is what I do normally:
1- inserting some excel like data with 3 column ( actually 4 but one of them is time that I use it in another way) into MATLAB ( x,y,z of radio antenna positions ) which I name them respectively like x75, y75,z75 for an antenna positioned at 75 meter from the core.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/154315/image.jpeg)
2- convert them to another unit which is straight forward because I use the command line
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/154322/image.jpeg)
3- then I use the SP toolbox to insert the converted values as a signal which is time consuming because I need to insert a lot of them one by one!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/154325/image.jpeg)
4- then I should apply a bandpass filter with FFT algorithm to those signals again one by one...
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/154328/image.jpeg)
5- then I need to export those filtered signals into workspace and save the peak of the FFT transformed signals ( Y stats ) for later use ( I do use the plot command )...
% plot(abs(fft(x75f.data)))
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/154333/image.jpeg)
- *now think of it if i'm doing this for 100 radio antennas with x,y and z coordinates ...is there anyway to do any of those parts in command line? Like applying filter on converted values without having to do it in SP toolbox? *
any way to do it faster?*
Thanks!
0 comentarios
Respuestas (1)
Wayne King
el 30 de Dic. de 2013
Yes, how about just putting all your data in a matrix with 4 columns and M rows and not naming the variables?
You just know that column 1 is x, column 2 is y, column 3 is z, column 4 is t
and the rows represent distances.
Then you can easily scale the matrix by your constant factor. You can then do your operations directly on the matrix, like fft(), etc.
3 comentarios
Wayne King
el 30 de Dic. de 2013
So can't you organize the data as a matrix? what are the dimension of these .dat files.
Ver también
Categorías
Más información sobre Antennas, Microphones, and Sonar Transducers en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!