代码搜索结果

找到约 10,000 项符合 Switch 的代码

lc-switch.h

/* * Copyright (c) 2004-2005, Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted pr

switch_em.m

function results = switch_em(y,x1,x2,x3,b1,b2,b3,crit,maxit) % PURPOSE: Switching Regime regression (EM-estimation) % y1 = x1*b1 + e1 % y2 = x2*b2 + e2 % y3 = x3*b3 + e3

switch_emd.m

% PURPOSE: Demo of switch_em % EM-estimation of switching regime regression % and prt,plt %--------------------------------------------------- % USAGE: switch_emd %-----------------------

switch_bus.vhd

-- 库声明 library IEEE; use IEEE.STD_LOGIC_1164.all; -- 实体声明 entity switch_bus is -- 类属参数 generic ( BUS_WIDTH : integer := 8 ); -- 总线宽度 port ( din1 : in std_logic_vector(BUS_WIDTH-1 d

stucture_switch.m

% stucture_switch.m % switch-case结构示例 % 单位换算示例 disp('单位换算示例') x=input('输入需要换算的长度数值(m):'); unit=input('选择转换单位(1 in; 2 ft; 3 m; 4 mm; 5 cm;):'); switch unit case {'inch', 'in', 1} y=

stucture_switch.asv

% stucture_switch.m % switch-case结构示例 % 单位换算示例 disp('单位换算示例') x=input('输入需要换算的长度数值(cm):'); unit=input('选择转换单位(1 in; 2 ft; 3 m; 4 mm; 5 cm;):') switch unit case {'inch', 'in', 1} y=

switch02.m

month = {'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Dec', 'Nov', 'Dec'}; for i = 1:length(month) switch month{i} case {'Mar','Apr','May'} season = 'Spring'; case {'Ju