Effacer les filtres
Effacer les filtres

from python to matlab

1 vue (au cours des 30 derniers jours)
RADWAN A F ZEYADI
RADWAN A F ZEYADI le 11 Déc 2021
Commenté : Rik le 11 Déc 2021
i have python code how can i translate it to matlab?
thank you

Réponses (1)

Rik
Rik le 11 Déc 2021
You have three options.
  1. Re-implement the entire functionality in Matlab. There is no automatic conversion possible.
  2. Call you Python code from within Matlab.
  3. Call Matlab from within Python.
  2 commentaires
RADWAN A F ZEYADI
RADWAN A F ZEYADI le 11 Déc 2021
i want this command in matlab
Seis = np.reshape(Seis, (Seis.shape[0]*(nm-1),1))
Rik
Rik le 11 Déc 2021
I can imagine what reshape does, but you'll have to explain what the rest of this command is doing.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Call Python from MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by