Borrar filtros
Borrar filtros

Matlab equivalent code in python

5 visualizaciones (últimos 30 días)
Prb
Prb el 1 de Mayo de 2019
Respondida: Walter Roberson el 1 de Mayo de 2019
Hi What would be an equivalent code in python for this line of Matlab code
X_test = int8(single(X_test) - 127)

Respuesta aceptada

Walter Roberson
Walter Roberson el 1 de Mayo de 2019
X_test = np.int8(np.float32(X_test)-127)

Más respuestas (0)

Categorías

Más información sobre Call Python from MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by