Clear Filters
Clear Filters

A question about signal processing

6 views (last 30 days)
Fernando
Fernando on 30 Dec 2013
Commented: Fernando on 30 Dec 2013
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!

Answers (1)

Wayne King
Wayne King on 30 Dec 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 Comments
Wayne King
Wayne King on 30 Dec 2013
So can't you organize the data as a matrix? what are the dimension of these .dat files.
Fernando
Fernando on 30 Dec 2013
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.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!