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 comentarios

José-Luis
José-Luis el 3 de Ag. de 2017
Editada: José-Luis el 3 de Ag. de 2017
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 el 3 de Ag. de 2017
Point taken. Listen to John.
Jan
Jan el 3 de Ag. de 2017
@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

Respuestas (0)

La pregunta está cerrada.

Preguntada:

el 3 de Ag. de 2017

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by