📄 split_sig.m
字号:
function [sig1,sig2,split_loc] = split_sig(sig)
%SPLIT_SIG Splits the signal in half
%
% SPLIT_SIG(sig) Splits sig in half, returning the halves sig1 and sig2,
% and the location of the split in the original signal, split_loc
%
% By: Matthew Hutchinson
% Created: 12/09/04
% Rice University
% Elec 301 Project
split_loc = ceil(length(sig)/2);
sig1 = sig(1:split_loc);
sig2 = sig(split_loc+1:length(sig));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -