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.
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