Sign in

username:

password:



Not a member?

Search matlab



Search tips

Subscribe to matlab



matlab by Keywords

Atanh | Autocorrelation | Bandpass Filter | C++ | Conv | Database | Deconv | Excel | FFT | Filter | Filtering | FIR | Fourier Transfrom | FSK | Gaussian Noise | Haykin | IFFT | Image | Java | LFSR | LMS | LPC | MEX | OFDM | QPSK | Radix | Random | Sampling | Segmentation | Simulink | Visual Basic | Waveform | Wavelet

Ads

Discussion Groups

Discussion Groups | Matlab DSP | File storage problem

Technical discussion about Matlab and issues related to Digital Signal Processing.

  

Post a new Thread

File storage problem - Anil B.V. - May 10 16:09:00 2001



Hi
I am working on EZW coding.
The first part that is subband decomposion is done in
MATLAB. Now I have an array of wavelet coefficients
with size 256 -by- 256. I need to store this array
in a file with only 8 bits/coefficient in the signed
char format.

The remaining work is done on C. I have used the
following commands:

Z = fopen('e:\wavelet\EZW\matrix.raw','wb');
COUNT = fwrite(Z,coeffs1,'char');

Where coeffs1 is the matrix converted to character
prior to the above command.

But this gives only 1-D 1-256 Empty matrix.

Please help in this regard.
Anil __________________________________________________




(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )