Path: news.mathworks.com!newsfeed-00.mathworks.com!nlpi057.nbdc.sbc.com!prodigy.net!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!r35g2000prm.googlegroups.com!not-for-mail
From: "Qingeng.Deng" <Qingeng.Deng@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: how to plot the distribution of 2d-dct coefficients
Date: Wed, 20 Aug 2008 03:08:45 -0700 (PDT)
Organization: http://groups.google.com
Lines: 9
Message-ID: <cec3016d-4818-4b5a-b255-83d1e1c4c03f@r35g2000prm.googlegroups.com>
NNTP-Posting-Host: 61.150.43.74
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1219226925 28775 127.0.0.1 (20 Aug 2008 10:08:45 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 20 Aug 2008 10:08:45 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: r35g2000prm.googlegroups.com; posting-host=61.150.43.74; 
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.0.1) 
Bytes: 1664
Xref: news.mathworks.com comp.soft-sys.matlab:486396



hello, everybody
      i want to plot  the distribution of 2d-dct coefficients in
matlab.  First, i use 'blkproc' fucntion to complete the block dct
transform for one image, and then i want to use 'hist' to plot the
distribution of  coefficients which have the same location in all
blocks.  The problem is that I don't know how to decide the second
parameter of hist function, inluding the length and the interval.
Because the max value of coefficients is different for different
locations in one block and also for various images.