|
lpf design querry: msg#00020gnu.octave.bugs
hi, when i use matlab for lpf filter design there i get more number of coefficients comparing to the octave. is the implimentation of buttord is different? below is my code: sampfreq=6000; freq1=200; freq2=500; wp=((freq1*2)/sampfreq); ws=((freq2*2)/sampfreq); rp=0.0001; rs=20; [N,WN]=buttord(wp,ws,rp,rs); b=fir1(N,WN); y= [b]*2^15; fid = fopen('C:\\Documents and Settings\\balajid\\Desktop\\filter.dat','w'); for n=1:N+1 fprintf(fid,'%d,\n',y(n)); endfor fclose(fid); thanks®ards balaji.d
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: gplot eliminates NaN entries from plot data: 00020, Thorsten Meyer |
|---|---|
| Next by Date: | can't load HDF5 files: 00020, Nuno Nunes |
| Previous by Thread: | Re: gplot eliminates NaN entries from plot datai: 00020, Thorsten Meyer |
| Next by Thread: | can't load HDF5 files: 00020, Nuno Nunes |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |