?? cut.m
字號(hào):
function v = cut(a, up, down)% CUT cut down values of matrix that are not between given limits%% Usage:% B = CUT(A, up, down)% will return a matrix with all values in A greater than up% replaced by up and all values less than down replaced by down% Copyright (C) 2002 Harri Valpola and Antti Honkela.%% This package comes with ABSOLUTELY NO WARRANTY; for details% see License.txt in the program package. This is free software,% and you are welcome to redistribute it under certain conditions;% see License.txt for details.v = a .* (a >= down) + down .* (a < down);v = v .* (v <= up) + up .* (v > up);
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -