What are these functions doing exactly?

Trying to create my own code instead of using existent functions; such as, 'sensorsig(pos,Nsamp,angs,noisePwr)' . what the function's algorithm and how it works? Thanks in advance

4 件のコメント

José-Luis
José-Luis 2017 年 8 月 3 日
編集済み: José-Luis 2017 年 8 月 3 日
I assume you read the documentation. What parts did you not understand?
I don't have the required toolbox so I can't tell you whether
edit sensorsig
will show all the innards of the function, but it's worth a shot.
John D'Errico
John D'Errico 2017 年 8 月 3 日
Please DON'T tell people to edit these functions. That far too often creates a bug, because someone accidentally modifies MathWorks functions by mistake, then saves it without realizing they did so!
Instead, teach them to use type. Type displays the function in the command window. The command window is scrollable, so it has entirely sufficient functionality to see exactly what is in the function, and never any chance of creating a bug.
type sensorsig
José-Luis
José-Luis 2017 年 8 月 3 日
Point taken. Listen to John.
Jan
Jan 2017 年 8 月 3 日
@John: You can prevent the accidental editing by running Matlab without Admin privileges. Then the files in Matlab's toolboxes cannot be overwritten. For convenience I allow the users to modify toolbox\local\pathdef.m only

回答 (0 件)

この質問は閉じられています。

質問済み:

2017 年 8 月 3 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by