?? mapsto.m
字號:
function out = mapsto(in,x,y)%MAPSTO Substitute matrix (array) elements% Y = MAPSTO(X,A,B) substitues all A elemetns in matrix (array) X to B% as one may expect Y = {X:A |-> B}.% Copyright 2001-2003 Kamil Anis, anisk@feld.cvut.cz% Dept. of Radioelectronics, % Faculty of Electrical Engineering% Czech Technical University in Prague% $Revision: 0.1 $ $Date: 2003/1/16 17:33:28 $% --% <additional stuff goes here>mask = y * (in == x);out = in + mask;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -