Filter löschen
Filter löschen

Matlab equivalent code in python

5 Ansichten (letzte 30 Tage)
Prb
Prb am 1 Mai 2019
Hi What would be an equivalent code in python for this line of Matlab code
X_test = int8(single(X_test) - 127)

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 1 Mai 2019
X_test = np.int8(np.float32(X_test)-127)

Weitere Antworten (0)

Kategorien

Mehr zu Call Python from MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by