Thread Subject: compression technique

Subject: compression technique

From: sangita patil

Date: 14 Mar, 2010 06:32:02

Message: 1 of 3

please send code for compression on text

Subject: compression technique

From: Walter Roberson

Date: 14 Mar, 2010 06:53:18

Message: 2 of 3

sangita patil wrote:
> please send code for compression on text

compressedtext = function(thetext)

   T := fft(double(thetext)));
   T(1+ceil(length(thetext)/2):end-ceil(length(thetext)/2)+1) = [];
   compressedtext = char(min(max(32, abs(ifft(T))),127));

end

Subject: compression technique

From: Jan Simon

Date: 14 Mar, 2010 09:21:05

Message: 3 of 3

> please send code for compression on text

http://www.mathworks.com/matlabcentral/fileexchange/8899

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com