sinT2 = np.sin(2*np.pi*T2/T2.max())

F = 0.9*sinT2*np.sinc(X2*(1 + sinT2))

Could you please explain …

]]>With Matlab, I changed the line that selects matlab to “WinActivate, ahk_exe matlab.exe”, as my version is not for students, and also added the final line to go back to ST3.

Thanks a lot, now both programs are working with ST3.

]]>PD: I’m currently modifying the code so the windows goes back to Sublime Text.

]]>In Spyder, it’s weird, it’s the code goes either to the editor, where I should select and press F9, or else goes the console, where I should press enter.

With Matlab, the code seems like running in the Sublime text window, but nothing happens in the Matlab windows (nothing in the editor, console or variable pane).

Thanks for your answer.

]]>