[Top][All Lists]

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

Re: HI new guy trying to load matlab files

From: Henry F. Mollet
Subject: Re: HI new guy trying to load matlab files
Date: Sat, 10 Mar 2007 18:53:43 -0800
User-agent: Microsoft-Entourage/

Waveread is available. See below.
[~] -bash-2.05b 501$ octave
GNU Octave, version 2.1.71 (powerpc-apple-darwin8.1.0).
Copyright (C) 2005 John W. Eaton.

octave:1> help wavread
wavread is the user-defined function from the file

[snd, srate, nbits] = wavread(infile,[nframes])

Read .wav file into snd (size  (nchans,nsamples)).
srate = sampling rate in Hz.
nbits = bits per sample.
optional nframes = no. samples to read (all channels)
  (default = all samples in file).


on 3/9/07 8:54 PM, malik martin at address@hidden wrote:

> someone told me that waveread isnt available in octave and that i need
> to find an alternative.
> does anyone know what that alternative is?
> i'm searching the docs now.
> On 3/9/07, malik martin <address@hidden> wrote:
>> octave:8> figure1_02
>> error: `wavread' undefined near line 1 column 15
>> error: near line 1 of file
>> `/cygdrive/e/bookx/dafx/M_files_chap01/figure1_02.m'
>> octave:8>
>> On 3/9/07, Przemek Klosowski <address@hidden> wrote:
>>> the figure1_02.m file is probably a matlab code, and the 'load' command
>>> is designed to load a data file with numbers. You need to invoke your
>>> file as octave commands, by simply calling out its name:
>>>     octave> figure1_02
> _______________________________________________
> Help-octave mailing list
> address@hidden

reply via email to

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