A question about signal processing

2 次查看(过去 30 天)
Fernando
Fernando 2013-12-30
评论: Fernando 2013-12-30
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.
2- convert them to another unit which is straight forward because I use the command line
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!
4- then I should apply a bandpass filter with FFT algorithm to those signals again one by one...
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)))
  • *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!

回答(1 个)

Wayne King
Wayne King 2013-12-30
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 个评论
Wayne King
Wayne King 2013-12-30
So can't you organize the data as a matrix? what are the dimension of these .dat files.
Fernando
Fernando 2013-12-30
yes I can! DAT files are just like the first image, with 4 column and 2082 rows. but i'm not sure how I can then work with that matrix to apply filter and find the values that I want.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Antennas, Microphones, and Sonar Transducers 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by