MATLAB Answers

0

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

Asked by mohammad.monjil on 22 Jan 2015
Latest activity Commented on by Honglei Chen
on 26 Jan 2015
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?

  0 Comments

Sign in to comment.

2 Answers

Answer by Honglei Chen
on 23 Jan 2015

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 Comments

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?
The implementation is in stepImpl method. You can search "stepImpl" to find the methods in the class definition.

Sign in to comment.


Answer by Guillaume
on 23 Jan 2015

edit TimeDelayBeamformer
should work. Otherwise you can always obtain the pass with
which TimeDelayBeamformer

  0 Comments

Sign in to comment.