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

📄 ss2i.m

📁 JLAB is a set of Matlab functions I have written or co-written over the past fifteen years for the p
💻 M
字号:
function[i]=ss2i(s1,s2)%SS2I Convert from (s1,s2) notation to i=1:4 notation.%%   I=SS2I(S1,S2) where S1 and S2 are each +/- 1 returns a number I %   from 1 to 4 according to  %%        1 <==> (+,+)%        2 <==> (-,-)%        3 <==> (+,-)%        4 <==> (-,+)%  %   See also I2SS.%   __________________________________________________________________%   This is part of JLAB --- type 'help jlab' for more information%   (C) 2002--2006 J.M. Lilly --- type 'help jlab_license' for details         if s1==1  &&  s2==1    i=1;  elseif s1==-1  &&  s2==-1    i=2;  elseif s1==1  &&  s2==-1    i=3;  elseif s1==-1  &&  s2==1    i=4;  end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -