Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
ValSUREThresh2.m
Package: 小波去噪.rar [view]
Upload User: sla11nk8
Upload Date: 2013-03-09
Package Size: 21k
Code Size: 1k
Category:
Other systems
Development Platform:
Matlab
- function thresh = ValSUREThresh2(y)
- %
- %%%%%%It's My Own Function!!!
- %
- % ValSUREThresh -- Adaptive Threshold Selection Using Principle of SURE
- % Usage
- % thresh = ValSUREThresh(y)
- % Inputs
- % y 2-d Noisy Data with Std. Deviation = 1
- % Outputs
- % thresh Value of Threshold
- %
- % Description
- % SURE referes to Stein's Unbiased Risk Estimate.
- %
- m=length(y);
- x=[];
- for k=1:m
- x=[x y(k,:)];
- end;
- a = sort(abs(x)).^2 ;
- b = cumsum(a);
- n = m*m;%length(x);
- c = linspace(n-1,0,n);
- s = b+c.*a;
- risk = (n - ( 2 .* (1:n )) + s)/n;
- %figure;plot(1:n,risk(1:n));
- [guess,ibest] = min(risk);
- thresh = sqrt(a(ibest));