signdigits(N)

This function creates a vector that contains the significant digits of scalar N
19 download
Aggiornato 29 gen 2018

Visualizza la licenza

The function asks for the scalar N to create a vector containing the significant digits of N. It also tells the user whether the scalar is negative (s=-1) and has decimals (l is the location of the end of the integer number). The length of a is the number of significant digits of scalar N.

Cita come

Andrea Codolini (2025). signdigits(N) (https://it.mathworks.com/matlabcentral/fileexchange/65890-signdigits-n), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2016a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Data Type Conversion in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.1.1.0

Included Copyright statement

1.1.0.0

Changed variable name to reduce confusion.

1.0.0.0