Questions tagged [pymatlab]

Questions about Pymatlab. The Python package that implements an interface with MATLAB. It is intended to send data from Python into MATLAB's workspace to be able to run MATLAB functions on that data.

3 questions
1
vote
1 answer

e to the pi gives 1.0 and I am unable to comprehend the why behind it. Need help in understanding the underlying science

I created a simple function to solve e to the power pi explained here def e_to_power_pi(number): return (1 + (1/number)) ** (number * math.pi) from the look of it, clearly simple piece of code. But look at the output difference of these two…
1
vote
1 answer

Call Matlab function from Python script using pymatlab

Can anyone give me an idea about how to call Matlab function from python script using pymatlab? Matlab, pymatlab and python are already properly installed. I tried to run some Matlab commands from here on python script and everything works fine. But…
Sanakum
  • 179
  • 14
0
votes
2 answers

opening a .mat file in python for using in matlab

I am trying to open a .MAT file the file name is MNIST.mat and it is located in following folder /home/debian/cs640 machine learning/assignment5 here is a script which I wrote following some search on internet what I want to do is open the file and…