📄 tri.m
字号:
% tri. returns t for 0<t<1. 0 for t<0 and 1 for t>1.
%It is used by cwtex to compute the CWT in Example 1 of
%Chapter 1.
%
%Author: Raghuveer M. Rao
%Copyright (c) 1998 by Addison Wesley Longman, Inc.
%
function x=tri(t)
if t<0
x=0;
elseif t>1
x=1;
else
x=t;
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -