help-octave
[Top][All Lists]
Advanced

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

possible octave bug?


From: malik martin
Subject: possible octave bug?
Date: Sun, 11 Mar 2007 20:25:24 -0400

hi i think i might have found a bug in octave?

although i dont know much about matlab code, little to nothing really,
i've noticed where two different lines give the same output in a matlab file.


[u1,FS,NBITS]=wavread('ton2.wav');

FoSi='Fontsize';
fosi=8;

figure(1)
subplot(3,1,1);
//the line below
plot(0:7999,u1(1:8000));ylabel('x(n)');
subplot(3,1,2);
//produces the same output as this line
plot(0:999,u1(1:1000));ylabel('x(n)');
subplot(3,1,3);
stem(0:99,u1(1:100),'.');ylabel('x(n)');xlabel('n \rightarrow');


thanks,
malik


reply via email to

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