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

📄 rev.m

📁 英文书《Digital Signal Processing with Examples in MATLAB》附带的MATLAB实例
💻 M
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -