How to look inside class based functions under Phased Array ToolBox?

2 ビュー (過去 30 日間)
mohammad.monjil
mohammad.monjil 2015 年 1 月 22 日
コメント済み: Honglei Chen 2015 年 1 月 26 日
Currently I am working on a DSP project. Here I am in a need to see inside a MATLAB function. I know many MATLAB built-in functions can be accessed via the command 'edit'. But the functions I need to see are class and object based functions. One of these functions is "Time Delay Beam Forming" under Phased Array Tool Box. Here an object called TimeDelayBeamformer is created with all necessary parameters and it is passed to the step function to perform the beamforming algorithm. I want to see the code. Is there anyway?

回答 (2 件)

Honglei Chen
Honglei Chen 2015 年 1 月 23 日
You can type
edit phased.TimeDelayBeamformer
to see the source code. The code is a System object, but if you are only interested in the algorithm, most of it is contained in stepImpl method. This being said, since it is object oriented, you may need to parse through some inheritance too.
HTH
  2 件のコメント
mohammad.monjil
mohammad.monjil 2015 年 1 月 24 日
Thank you for your answer. I have tried using "edit phased.TimeDelayBeamformer", but it only shows the object definition. Actually I am interested to see how they have implemented the algorithm. How should I do it?
Honglei Chen
Honglei Chen 2015 年 1 月 26 日
The implementation is in stepImpl method. You can search "stepImpl" to find the methods in the class definition.

サインインしてコメントする。


Guillaume
Guillaume 2015 年 1 月 23 日
edit TimeDelayBeamformer
should work. Otherwise you can always obtain the pass with
which TimeDelayBeamformer

カテゴリ

Help Center および File ExchangeConstruct and Work with Object Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by