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
UPLUS.C
Package: 语音处理与合成工具箱随书光盘源码3.rar [view]
Upload User: jihankui
Upload Date: 2013-03-01
Package Size: 5664k
Code Size: 1k
Category:
Speech/Voice recognition/combine
Development Platform:
Matlab
- /* Copyright (c) 1984-98 by The MathWorks, Inc. */
- /* $Revision: 1.4 $ */
- /*
- * UPLUS --- overloaded unary plus for uint8 arrays
- *
- * Usage:
- *
- * >> a = uint8(magic(3));
- * >> b = +a; % invokes this MEX-file on a
- *
- * Steve Eddins, September 1996
- */
- static char rcsid[] = "$Id: uplus.c,v 1.4 1997/11/21 23:39:27 moler Exp $";
- #include "mex.h"
- /* As of 9 Sep 1996, this define is necessary to prevent */
- /* a full data copy. This line can be removed if the behavior */
- /* of the mxClearLogical function changes to use a shared-data copy. */
- #define ARRAY_ACCESS_INLINING
- void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
- {
- if ((nrhs != 1) || !mxIsUint8(prhs[0]))
- {
- mexErrMsgTxt("A single uint8 input was expected");
- }
- plhs[0] = mxDuplicateArray(prhs[0]);
- mxClearLogical(plhs[0]);
- }