Resultado de búsqueda
Learn how to create, convert, and compare double-precision variables in MATLAB, the default numeric data type. Double-precision provides more range and accuracy than single-precision for most computational tasks.
- Single
Single-precision variables in MATLAB are stored as 4-byte...
- Str2double
X = str2double(str) converts the text in str to double...
- EPS
d = eps(x), where x has data type single or double, returns...
- Realmin
This MATLAB function returns the smallest positive...
- Single
Si tiene un arreglo de un tipo de datos diferente, como single o int8, puede convertir este arreglo a doble precisión utilizando la función double, que luego guarda el arreglo con mayor precisión para cálculos posteriores.
Learn how to create and store double- and single-precision floating-point numbers in MATLAB, and how they are represented and rounded according to IEEE format. Find the largest and smallest values, and the largest consecutive integer, for each data type.
Puede convertir otros datos numéricos, caracteres o cadenas, y datos lógicos a doble precisión mediante la función double de MATLAB. En este ejemplo se convierte un entero con signo a punto flotante de doble precisión:
X = str2double(str) convierte el texto de str a valores de precisión doble. str contiene texto que representa valores numéricos reales o complejos. str puede ser un vector de caracteres, un arreglo de celdas de vectores de caracteres o un arreglo de cadenas.
Se si dispone di un array di un tipo di dati diverso, come single o int8, è possibile convertire tale array in un array a doppia precisione utilizzando la funzione double, che memorizza l'array con una precisione maggiore per ulteriori calcoli.
MATLAB® represents floating-point numbers in either double-precision or single-precision format. The default is double precision, but you can make any number single precision with a simple conversion function.