⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 up.m

📁 用来实现隐马尔科夫树的分类
💻 M
字号:
function y = up(x,M,FLAG)% y = up(x,M); Upsample x by M%% Input:  x    - input signal%         M    - upsampling factor%         FLAG - 0/1, 0-dont append zeros, 1-append zeros so that%                length(y)=length(x). Default FLAG=1% Output: y - output signal%% Example:%% See also: down%%File Name: up.m%Last Modification Date: 8/30/95        15:52:04%Current Version: up.m  1.2%File Creation Date: 92/09/25%Author: Ramesh Gopinath  <ramesh@dsp.rice.edu>%%Copyright: All software, documentation, and related files in this distribution%           are Copyright (c) 1993  Rice University%%Permission is granted for use and non-profit distribution providing that this%notice be clearly maintained. The right to distribute any portion for profit%or as part of any commercial product is specifically reserved for the author.%%Change History:%if (nargin < 3)  FLAG=1;end;y_len=length(x)*M;if (FLAG==1)y=zeros(1,y_len);end;y(1:M:y_len)=x;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -