# include<stdio.h> # include<math.h> # define N 3 main(){ float NF2(float *x,float *y); float A[N][N]={{10,-1,-2},{-1,10,-2},{-1,-1,5}}; float b[N]={7.2,8.3,4.2},sum=0; float x[N]= {0,0,0},y[N]={0},x0[N]={}; int i,j,n=0; for(i=0;i<N;i++) { x[i]=x0[i]; } for(n=0;;n++){ //计算下一个值 for(i=0;i<N;i++){ sum=0; for(j=0;j<N;j++){ if(j!=i){ sum=sum+A[i][j]*x[j]; } } y[i]=(1/A[i][i])*(b[i]-sum); //sum=0; } //判断误差大小 if(NF2(x,y)>0.01){ for(i=0;i<N;i++){ x[i]=y[i]; } } else break; } printf("经过%d次雅可比迭代解出方程组的解:\n",n+1); for(i=0;i<N;i++){ printf("%f ",y[i]); } } //求两个向量差的二范数函数 float NF2(float *x,float *y){ int i; float z,sum1=0; for(i=0;i<N;i++){ sum1=sum1+pow(y[i]-x[i],2); } z=sqrt(sum1); return z; }
上传时间: 2019-10-13
上传用户:大萌萌撒
VHDL编写的4选一数据选择器 entity mux41a is port(a,b:in std_logic; s1,s2,s3,s4:in std_logic; y: out std_logic); end entity mux41a; architecture one of mux41a is signal ab:std_logic_vector(1 downto 0);
上传时间: 2020-05-15
上传用户:cdga
At present, there is a strong worldwide push toward bringing fiber closer to indi- vidual homes and businesses. Fiber-to-the-Home/Business (FTTH/B) or close to it networks are poised to become the next major success story for optical fiber com- munications. In fact, FTTH connections are currently experiencing double-digit or even higher growth rates, e.g., in the United States the annual growth rate was 112% between September 2006 and September 2007, and their presence can add value of U.S. $4,000–15,000 to the selling price of a home.
标签: Technologies Broadband Networks Access
上传时间: 2020-05-26
上传用户:shancjb
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
本设计方案中我采用多路复用器,2-4译码器,LED灯和或门等器件来完成设计。用2个74x151多路复用器扩展为16-2多路复用器,题目中的地址代码A、B、C、D4个输入端作为扩展的多路复用器的地址端,DO-D8作为数据端。开箱钥匙孔信号E作为2-4decoder的使能端。设计开锁的正确代码为0101,当用钥匙开锁(即2-4decoder的使能端有效〉时,如果正确输入开锁密码:0101,则输出Y为逻辑高电平,Y’为逻辑低电平,锁被打开,而LED灯不会亮(即不会报警);如果输入的密码错误或者钥匙孔信号无效,则输出Y为逻辑低电平,Y’为逻辑高电平,锁无法打开,逻辑高电平Y’驱动LED灯亮,产生报警效果。2.设计原理图:(以下电路图为用QuartusI踪合后截屏所得) 本设计方案中我采用多路复用器,2-4译码器,LED灯和或门等器件来完成设计。用2个74x151多路复用器扩展为16-2多路复用器,题目中的地址代码A、B、C、D4个输入端作为扩展的多路复用器的地址端,DO-D8作为数据端。开箱钥匙孔信号E作为2-4decoder的使能端。设计开锁的正确代码为0101,当用钥匙开锁(即2-4decoder的使能端有效〉时,如果正确输入开锁密码:0101,则输出Y为逻辑高电平,Y’为逻辑低电平,锁被打开,而LED灯不会亮(即不会报警);如果输入的密码错误或者钥匙孔信号无效,则输出Y为逻辑低电平,Y’为逻辑高电平,锁无法打开,逻辑高电平Y’驱动LED灯亮,产生报警效果。2.设计原理图:(以下电路图为用QuartusI踪合后截屏所得)
标签: 密码锁
上传时间: 2021-04-26
上传用户:情可倾想
复活节计算 int y, n, a, q, b, m, w, d, mm = 4; y = atoi(argv[1]); n = y-1900; a = fmod(n,19);
上传时间: 2021-07-09
上传用户:scfan2004
基于传感器和模糊规则的机器人在动态障碍环境中的智能运动控制基于传感器和模糊规则的机器人在动态障碍环境中的智能运动控制 oIlI~0(、r> 王 敏 金·波斯科 黄心汉 ,O、l、L (华i 面面辜写j幕.武汉,43074) \I。L上、o 捌要:提出了一种基于传感器和模糊规则的智能机器人运动规划方法 .该方法运用了基于调和函数分析的人 工势能 场原 理 .采用模糊规则 可减少推导势能函数所 必须的计算 ,同时给机器人伺服 系统发 出指令 ,使它能够 自动 地寻找通向目标的路径.提出的方法具有简单、快速的特点,而且能对 n自由度机械手的整个手臂实现最碰.建立 在非线性机器人动力学之上的整 个闭环系统和模糊控制器 的稳定性 由李雅普诺 夫原理 保证 .仿真结 果证明 了该方 法 的有效性 ,通 过比较分析显示 出文 中所提 出的最障算法的优越性 . 美t词:基于传感器的机器人运动控制;模糊规则;人工势能场;动态避障;机器人操作手 1 叫哑oducd0n R。boIsarewjdelyusedfor诅sb inchasma~ia]b柚· 血 , spot : ng, spray Ijl岫 1g, mech卸icaland elec咖 icas搴enlb1y,ma al埘 IIovaland wa时 cut· ring 咖 . ofsuch tasks_堋 llldea pri|柚ary ptd 眦 of 她 ar0botto e oncpositiontoanother withoutbur叩inginto anyobstacles. s 曲km,de. notedasthefDbotm ∞ pJan,liDgp∞ 舶1,hasbeen the倒 娜bj0ct锄l哪gIeseat℃ll∞ . Every method o0血∞rI1ing 如b0tmotionplanninghas itsownadv∞ngesandapplicationdoma~ asweftasits di戤ldvaIIta麟 and constr~dnts. Therefore it would be ratherdifficulteithertoc0Ⅱ】paremethodsorton~ vate thechoio~ofan dl0‘iupon othP~s. 0州 d眦 :1999—07—29;Revised~ :2000一∞ 一丝 In conU~astto many n~ hods,rob
上传时间: 2022-02-15
上传用户:
家 庭 总 线 是 智 能 家 居 实 现 的 重 要 基 础 . 是 住 宅 内 部 的 神 经 系 统 . 其 主 要 作 用 是 连 接 家 中的各 种 电子 、 电气 设 备 . 负责 将 家 庭 内 的 各 种 通 信 设 备 ( 包 括 安 保 、 电话 、 家 电 、 视 听 设 备 等 )连 接 在 一 起 . 形 成 一 个 完 整 的家 庭 网 络 。 日 本 是 较 早 推 动 智 能 家 居 发 展 的 国 家 之 一 , 它 较 早 地 提 出 了 家庭 总线 系统 (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
上传用户: