OpenCores
URL https://opencores.org/ocsvn/wdsp/wdsp/trunk

Subversion Repositories wdsp

[/] [wdsp/] [trunk/] [sw/] [matlab-scripts/] [fft/] [writebin.m] - Blame information for rev 5

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 5 parrado
function writebin(fid,a) ;
2
%    w ritebin(fid,a)
3
%       fid - file id obtained from fopen
4
%       a - array to be written to to the file
5
%       No return arguements
6
for k=(size(a,2)):-1:1
7
    fprintf(fid,'%1.1d',a(k));
8
end

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.