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

 채택된 답변

TAB
TAB 2012년 4월 9일

2 개 추천

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

Bilal Alam
Bilal Alam 2012년 4월 9일
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
TAB
TAB 2012년 4월 9일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

태그

질문:

2012년 4월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by