rev.m
来自「英文书《Digital Signal Processing with Examp」· M 代码 · 共 12 行
M
12 行
function y=rev(x);
% y=rev(x)
%
% If x is a vector, y = x with elements in revese order.
%
% If x is an array, y = x with elements in each column
% reversed, and then the columns themselves reversed.
[r,c]=size(x);
v=x(r:-1:1,:);
y=v(:,c:-1:1);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?