from python to matlab

1 次查看(过去 30 天)
RADWAN A F ZEYADI
RADWAN A F ZEYADI 2021-12-11
评论: Rik 2021-12-11
i have python code how can i translate it to matlab?
thank you

回答(1 个)

Rik
Rik 2021-12-11
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 个评论
RADWAN A F ZEYADI
RADWAN A F ZEYADI 2021-12-11
i want this command in matlab
Seis = np.reshape(Seis, (Seis.shape[0]*(nm-1),1))
Rik
Rik 2021-12-11
I can imagine what reshape does, but you'll have to explain what the rest of this command is doing.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Call Python from MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by