为了增加公司收入,F 公司新开设了物流业务。由于 F 公司在业界的良好口碑,物流业务一开通即受到了消费者的欢迎,物流业务马上遍及了城市的每条街道。然而,F 公司现在只安排了小明一个人负责所有街道的服务。 任务虽然繁重,但是小明有足够的信心,他拿到了城市的地图,准备研究最好的方案。城市中有 n 个交叉路口,m 条街道连接在这些交叉路口之间,每条街道的首尾都正好连接着一个交叉路口。除开街道的首尾端点,街道不会在其他位置与其他街道相交。每个交叉路口都至少连接着一条街道,有的交叉路口可能只连接着一条或两条街道。 小明希望设计一个方案,从编号为1的交叉路口出发,每次必须沿街道去往街道另一端的路口,再从 新的路口出发去往下一个路口,直到所有的街道都经过了正好一次。 输入数据格式: 输入的第一行包含两个整数n, m(1≤n≤10, n-1≤m≤20),表示交叉路口的数量和街道的数量,交叉 路口从1到n标号。 接下来m行,每行两个整数a, b,表示和标号为a的交叉路口和标号为b的交叉路口之间有一条街道, 街道是双向的,小明可以从任意一端走向另一端。两个路口之间最多有一条街道。 输出输出格式: 如果小明可以经过每条街道正好一次,则输出一行包含m+1个整数p1, p2, p3, ..., pm+1,表示小明经过的路口的顺序,相邻两个整数之间用一个空格分隔。如果有多种方案满足条件,则输出字典序最小的一种方案,即首先保证p1最小,p1最小的前提下再保证p2最小,依此类推。 如果不存在方案使得小明经过每条街道正好一次,则输出一个整数-1。
标签: 代码
上传时间: 2019-07-04
上传用户:Rain
function [R,k,b] = msc(A) % 多元散射校正 % 输入待处理矩阵,通过多元散射校正,求得校正后的矩阵 %% 获得矩阵行列数 [m,n] = size(A); %% 求平均光谱 M = mean(A,2); %% 利用最小二乘法求每一列的斜率k和截距b for i = 1:n a = polyfit(M,A(:,i),1); if i == 1 k = a(1); b = a(2); else k = [k,a(1)]; b = [b,a(2)]; end end %% 求得结果 for i = 1:n Ai = (A(:,i)-b(i))/k(i); if i == 1 R = Ai; else R = [R,Ai]; end end
上传时间: 2020-03-12
上传用户:15275387185
This book is an entry-level text on the technology of telecommunications. It has been crafted with the newcomer in mind. The eighteen chapters of text have been prepared for high-school graduates who understand algebra, logarithms, and basic electrical prin- ciples such as Ohm’s law. However, many users require support in these areas so Appen- dices A and B review the essentials of electricity and mathematics through logarithms.
标签: Telecommunications Fundamentals 1st of ed
上传时间: 2020-05-27
上传用户:shancjb
This book is an entry-level text on the technology of telecommunications. It has been crafted with the newcomer in mind. The twenty-one chapters of text have been prepared for high-school graduates who understand algebra, logarithms, and the basic principles of electricity such as Ohm’s law. However, it is appreciated that many readers require support in these areas. Appendices A and B review the essentials of electricity and mathematics up through logarithms. This material was placed in the appendices so as not to distract from the main theme, the technology of telecommunication systems. Another topic that many in the industry find difficult is the use of decibels and derived units. Appendix C provides the reader a basic understanding of decibels and their applications. The only mathematics necessary is an understanding of the powers of ten
标签: Telecommunications Fundamentals 2nd of ed
上传时间: 2020-05-27
上传用户:shancjb
This books presents the research work of COST 273 Towards Mobile Broadband Multimedia Networks, hence, it reports on the work performed and on the results achieved within the project by its participants. The material presented here corresponds to the results obtained in four years of collaborative work by more than 350 researchers from 137 institutions (universities, operators, manufacturers, regulators, independent laboratories and others – a full list is provided in Appendix B) belonging to 29 countries (mainly European, but also from Asia and North America) in the area of mobileradio. Theobjectiveofpublishingtheseresultsasabookisessentiallytomakethemavailable to an audience wider than the project. In fact, it just follows a ‘tradition’ of previous COST Actions in this area of telecommunications, i.e. COST 207, 231 and 259.
标签: Multimedia Techniques Broadband Networks Mobile
上传时间: 2020-05-30
上传用户:shancjb
This edition updates and continues the series of books based on the residential courses on radiowave propagation organised by the IEE/IET. The first course was held in 1974, with lectures by H. Page, P. Matthews, D. Parsons, M.W. Gough, P.A. Watson, E. Hickin, T. Pratt, P. Knight, T.B. Jones, P.A. Bradley, B. Burgess and H. Rishbeth.
标签: Propagation Radiowaves edition 3rd of
上传时间: 2020-05-31
上传用户:shancjb
In this thesis several asp ects of space-time pro cessing and equalization for wire- less communications are treated. We discuss several di?erent metho ds of improv- ing estimates of space-time channels, such as temp oral parametrization, spatial parametrization, reduced rank channel estimation, b o otstrap channel estimation, and joint estimation of an FIR channel and an AR noise mo del. In wireless commu- nication the signal is often sub ject to intersymb ol interference as well as interfer- ence from other users.
标签: Communications Space-Time Processing Wireless for
上传时间: 2020-06-01
上传用户:shancjb
序号 题号 题目名称 组别1 A 微电网模拟系统 本科2 B 滚球控制系统 本科3 C 四旋翼自主飞行器探测跟踪系统 本科4 E 自适应滤波器 本科5 F 调幅信号处理实验电路 本科6 H 远程幅频特性测试装置 本科7 I 可见光室内定位装置 本科8 K 单相用电器分析监测装置 本科9 L 自动泊车系统 高职高专10 M 管道内钢珠运动测量装置 高职高专11 O 直流电动机测速装置 高职高专12 P 简易水情检测系统 高职高专
标签: 全国大学生电子设计竞赛
上传时间: 2021-12-11
上传用户:wangshoupeng199
采用的PLC是西门子S7-200系列,仿真编程软件为STEP7-Micro。在初始状态,容器是空的,各阀门皆关闭,Y1、Y2、Y3灯皆暗和M搅拌机均为OFF,液面传感器L1、L2、L3为关,加热器H为关。若要启动操作,按下启动按钮(I0.0),开始下列操作: (1)Y1、Y2为ON,液体A和B同时注入容器,当液面达到L2时,L2为ON,使Y1、Y2为OFF,Y3为ON,即关闭Y1、Y2阀门,打开液体C的阀门Y3。 (2)液面达到L1时,Y3为OFF,M为ON,即关闭阀门Y3,电动机起动开始搅拌。 (3)经10S搅匀后,M为OFF,停止搅拌,H为ON,加热器开始加热。 4、当混合液体温度达到某一指定值时,T为ON,H为OFF,停止加热,使电磁阀Y4为ON,开始放出混合液体。 (4)当液体高度降为L3后,L3从ON到OFF,再经5S,容器放空,Y4为OFF,开始下一周期。当按下停止按钮后,在当前的混合操作处理完毕后,停止操作,停在初始状态。
上传时间: 2021-12-31
上传用户:XuVshu
家 庭 总 线 是 智 能 家 居 实 现 的 重 要 基 础 . 是 住 宅 内 部 的 神 经 系 统 . 其 主 要 作 用 是 连 接 家 中的各 种 电子 、 电气 设 备 . 负责 将 家 庭 内 的 各 种 通 信 设 备 ( 包 括 安 保 、 电话 、 家 电 、 视 听 设 备 等 )连 接 在 一 起 . 形 成 一 个 完 整 的家 庭 网 络 。 日 本 是 较 早 推 动 智 能 家 居 发 展 的 国 家 之 一 , 它 较 早 地 提 出 了 家庭 总线 系统 (H O m e B u S S Y S t e m , 简称H B S ) 的概念 . 成 立 了 家庭 总线 (H B S )研 究会 . 并 在 邮政省和 通 产 省 的指 导 下 组 成 了H B S 标 准委 员 会 , 制定 了 日 本 的H B s 标 准 。 按 照 该 标 准 , H B S 系统 由一 条 同 轴 电 缆 和 4 对 双 绞 线 构 成 , 前 者 用 于 传 输 图 像 信 息 . 后者 用 于 传输语 音 、 数据及 控制信 号 。 各 类家用 设 备 与 电气 设 备 均 按 一 定 方式 与H B S 相 连 , 这 些 电气设 备 既 可 以在 室 内进 行 控制 . 也 可 在异地 通 过 电话进行 遥 控 。 为适 应 大型 居住社 区 的需 要 , 1 9 8 8 年年初 , 日 本住 宅信息 化推进协会 又 推 出 了 超级 家庭总 线 (S u p e r H0 m e B u s S y s t e m , 简 称S - H B S ) , 它适 用 于 更 大 的范 围 . 因 为一 个S - H B s 系统可 挂接 数千个家庭 内部 网 。 家庭 智能化要 求诸 多家 电和 网络能够彼此 相容 . 总线协 议是 其精髓 所 在 , 只 有接 E l 畅通 , 家 电才能 “ 听懂 ” 人 发 出的指令 , 因此 总线标准 的物理 层 接 口 形 式 是 智能 家居 亟 待解决 的重 要 问题 之 一 。 目前 比 较成型 的总线标 准 协 议 主 要 是 美 国公 司 提 出 的 , 包 括E c h e l o n 公 司 I)~L o n W o r k s 协议 、 电子 工 业 协 会 (E I A ) 的C E 总线协 议 (C EB u S ) 、 S m a r t Ho u s e L P 的智 能屋 协 议 和×一 1 0 公 司 的X 一 1 0 协 议等。 这 些 协 议 各 有 优 劣 。
标签: 智能家居
上传时间: 2022-03-11
上传用户: