Matlab to Python problem

Lesego Moloko ernest.moloko at gmail.com
Fri May 8 02:06:45 EDT 2015


Dear All

I am a Python novice and have recently converted the attached Matlab file
to Python (attached). The problem is that I cannot reproduce the Matlab
plots (attached) with the converted Python program. I am also trying to go
line by line through my converted Python file to see where the problem
could be.

I attached:

   1. Matlab plots (5_p3.png and 4_p3.png)
   2. The Matlab file (test.m)
   3. Converted Python file (test.py)
   4. data files (a2_all_out_P3.dat and t4_all_out.dat)

You advise and assistance would be highly appreciated.
Regards
Lesego MOLOKO
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20150508/f4754d0b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 5_p3.png
Type: image/png
Size: 2811 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20150508/f4754d0b/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4_p3.png
Type: image/png
Size: 14041 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20150508/f4754d0b/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a2_all_out_P3.dat
Type: application/x-ns-proxy-autoconfig
Size: 28281 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20150508/f4754d0b/attachment.dat>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t4_all_out.dat
Type: application/x-ns-proxy-autoconfig
Size: 91104 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20150508/f4754d0b/attachment-0001.dat>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.m
Type: text/x-objcsrc
Size: 23921 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20150508/f4754d0b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.py
Type: text/x-python
Size: 36846 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20150508/f4754d0b/attachment.py>


More information about the Python-list mailing list