help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: save function


From: Mike Miller
Subject: Re: save function
Date: Wed, 9 Mar 2005 21:04:23 -0600 (CST)

On Wed, 9 Mar 2005, Hamish Allan wrote:

And I'm still not convinced about dropping the imaginary parts of complex numbers for compatibility's sake ;)

We definitely should strongly consider not doing that.

I assume that the problem for MATLAB is that it doesn't read in anything but numbers from a text file. Thus, it must convert character strings to numerical representations (using ascii character numbers, I think) before saving. To store complex numbers, you need a way to represent pairs - Octave uses parentheses and commas, but MATLAB (apparently) can't read in parentheses and commas.

What can ya do?  I think this is a good place to limit compatibility.

Mike



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]