help-octave
[Top][All Lists]
Advanced

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

Octave / Matlab


From: Charles Stroom
Subject: Octave / Matlab
Date: Sun, 13 Jan 2008 22:26:12 +0100

Hi,

I am new to octave (and matlab) and I am trying to get an existing
input file for matlab compatible for both matlab and octave.  This is
somewhat complicated because, for example, in the matlab version
originally used, the parameters of the wavwrite function are in a
different order than in octave.

Hence my question: is there a conditional which I can use to test if
the input file is used by octave or matlab?  Something like:

if (used_by_octave)
        wavwrite(file, a, b, c);
else
        wavwrite(a, b, c, file);
endif

Thanks,

Charles




-- 
Charles Stroom
email: charles at no-spam.stremen.xs4all.nl (remove the "no-spam.")


reply via email to

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