storing pulses from target in a 2D matrix

Hi, This is Bilal working on radar systems.Im a undergrad student. Im using the radar_system model in Matlab 2009 as a baseline. For frequency analysis of radar pulse i need to store the returned pulses in a 2D matrix which means returns from single transmitted pulse gets stored in a column and similarly the next pulses get stored in the next column and so on. Then i need to take FFT of each row. The problem is how to make the graphical code of making a 2D matrix. Thanks Bilal

 Accepted Answer

TAB
TAB on 9 Apr 2012
You can use Sinks\To Workspace block to store the output in a variable in base workspace in Array, Structure or Structure with Time format.

2 Comments

The situation is that when i use To workspace the return of all pulses gets stored in the same column. i want to put a condition that as soon as 4000 samples(no. of samples for one pulse) are complete, data starts to get stored in next coulmn
If you want to save output after every 4000 sapmles, put the "To Workspace" block in a "Subsystem" and set it's sapmle time accordingly.
And once all the data are avaibale in the workspace, you can manipuate (convert from row to colunm elc) it using matlab script.

Sign in to comment.

More Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Tags

Asked:

on 9 Apr 2012

Community Treasure Hunt

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

Start Hunting!