Convertir decimal ha binario Matlab
Este es un metodo que convierte de decimal ha binario en matlab
Pueden Probar este metodo:
dec2bin
str = dec2bin(d)
str = dec2bin(d,n)
Description
returns the
str = dec2bin(d) binary representation of d as a string. d must be a nonnegative integer smaller than 2^52.
str = dec2bin(d,n) produces a binary representation with at least n bits.
Examples
Decimal 23 converts to binary 010111:dec2bin(23)ans =
10111
Pueden Probar este metodo:
dec2bin
str = dec2bin(d)
str = dec2bin(d,n)
Description
returns the
str = dec2bin(d) binary representation of d as a string. d must be a nonnegative integer smaller than 2^52.
str = dec2bin(d,n) produces a binary representation with at least n bits.
Examples
Decimal 23 converts to binary 010111:dec2bin(23)ans =
10111
0 Response to "Convertir decimal ha binario Matlab"
Publicar un comentario