虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

2.<b>6</b>

  • To estimate the input-output mapping with inputs x % and outputs y generated by the following nonli

    To estimate the input-output mapping with inputs x % and outputs y generated by the following nonlinear, % nonstationary state space model: % x(t+1) = 0.5x(t) + [25x(t)]/[(1+x(t))^(2)] % + 8cos(1.2t) + process noise % y(t) = x(t)^(2) / 20 + 6 squareWave(0.05(t-1)) + 3 % + time varying measurement noise % using a multi-layer perceptron (MLP) and both the EKF and % the hybrid importance-samping resampling (SIR) algorithm.

    标签: input-output the generated following

    上传时间: 2014-01-05

    上传用户:royzhangsz

  • We have a group of N items (represented by integers from 1 to N), and we know that there is some tot

    We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.

    标签: represented integers group items

    上传时间: 2016-01-17

    上传用户:jeffery

  • The XML Toolbox converts MATLAB data types (such as double, char, struct, complex, sparse, logical)

    The XML Toolbox converts MATLAB data types (such as double, char, struct, complex, sparse, logical) of any level of nesting to XML format and vice versa. For example, >> project.name = MyProject >> project.id = 1234 >> project.param.a = 3.1415 >> project.param.b = 42 becomes with str=xml_format(project, off ) "<project> <name>MyProject</name> <id>1234</id> <param> <a>3.1415</a> <b>42</b> </param> </project>" On the other hand, if an XML string XStr is given, this can be converted easily to a MATLAB data type or structure V with the command V=xml_parse(XStr).

    标签: converts Toolbox complex logical

    上传时间: 2016-02-12

    上传用户:a673761058

  • 首先提示用户选择玩法 玩法1:21选5 输入5个数(从1

    首先提示用户选择玩法 玩法1:21选5 输入5个数(从1,2,…,21选) 玩法2:6+1 输入7个数字(代表购买彩票的号码,最后一位特别号) 根据用户选择的玩法,随机生成开奖号码,与用户输入的号码比较,判断是否中奖、中几等奖,并输出结果。 规则: 21选5 一等奖:5个号码相同 二等奖:4个号码相同 三等奖:3个号码相同 6+1 特等奖:6+1 一等奖:6 二等奖:连续5位数相同 三等奖:连续4位数相同 四等奖:连续3位数相同

    标签: 用户 输入

    上传时间: 2014-01-18

    上传用户:PresidentHuang

  • Ex4-22 单射函数问题 « 问题描述: 设函数f将点集S = {0,1, , n -1}映射为f (S) = { f (i) | iÎ S} Í

    Ex4-22 单射函数问题 « 问题描述: 设函数f将点集S = {0,1, , n -1}映射为f (S) = { f (i) | iÎ S} Í S 。单射函数问题要 从S中选取最大子集X Í S 使f (X )是单射函数。 例如,当n=7, f (S) = {1,0,0,2,2,3,6} Í S 时, X = {0,1,6} Í S 是所求的最大子集。 « 编程任务: 对于给定的点集S = {0,1, , n -1}上函数f,试用抽象数据类型队列,设计一个O(n)时 间算法,计算f的最大单射子集。 « 数据输入: 由文件input.txt 提供输入数据。文件的第1 行有1 个正整数n,表示给定的点集 S = {0,1, , n -1}。第2 行是f (i)的值,0 £ i < n。 « 结果输出: 程序运行结束时,将计算出的f的最大单射子集的大小输出到output.txt中。 输入文件示例 输出文件示例 input.txt 7 1 0 0 2 2 3 6 output.txt 3

    标签: Iacute 61516 laquo Icirc

    上传时间: 2016-05-28

    上传用户:tyler

  • Findstr.cpp运行结果: GetNext-IndexKMP的结果: 输入主串s:acabaabcaabaabcac 输入模式串t:abaabcac 主串s长=17 模式串t长=8

    Findstr.cpp运行结果: GetNext-IndexKMP的结果: 输入主串s:acabaabcaabaabcac 输入模式串t:abaabcac 主串s长=17 模式串t长=8 next[0]=-1 next[1]=-1 next[2]=0 next[3]=0 next[4]=1 next[5]=-1 next[6]=0 next[7]=-1 next[8]=0 模式串在主串的位置从第10个字符开始 GetNext-IndexKMP的结果: next[1]=0 next[2]=1 next[3]=1 next[4]=1 next[5]=2 next[6]=1 next[7]=1 模式串在主串的位置从第10个字符开始 GetNextVal-IndexKMP的结果: next[1]=0 next[2]=1 next[3]=1 next[4]=0 next[5]=2 next[6]=1 next[7]=1 模式串在主串的位置从第10个字符开始 GetNext-IndexKMP的结果: next[1]=0 next[2]=1 next[3]=1 next[4]=1 next[5]=2 next[6]=1 next[7]=1 模式串t在主串s中的位置从第10个字符开始 IndexBF的结果: 模式串t在主串s中的位置从第10个字符开始

    标签: acabaabcaabaabcac GetNext-IndexKMP abaabcac Findstr

    上传时间: 2013-12-25

    上传用户:璇珠官人

  • A值为1

    A值为1,Z值为26,ABC值为1+2+3=6,以此类推,同时支持从文件中读单词操作,利用linux下的GTK+图形库开发,有图形化界面

    标签:

    上传时间: 2013-12-26

    上传用户:heart520beat

  • IEC 62056 的很有价值的参考文档

    IEC 62056 的很有价值的参考文档,包括: DLMS UA 1000-1 ed.8, Blue book, COSEM Identification System and Interface Classes DLMS UA 1000-2 ed.6, Green book, DLMS/COSEM Architecture and Protocols DLMS UA 1001-1 ed.3,Yellow book, DLMS/COSEM Conformance Testing Proce

    标签: 62056 IEC 价值 文档

    上传时间: 2017-02-18

    上传用户:小眼睛LSL

  • 详细介绍uclinux移植过程

    详细介绍uclinux移植过程,很系统! 第六章目录:6.1 Bootloader  6.1.1 Bootloader介绍  6.1.2 Bootloader的启动  6.1.3 Bootloader的种类  6.2 U-Boot编程  6.2.1 U-Boot工程简介  6.2.2 U-Boot源码结构  6.2.3 U-Boot的编译  6.2.4 U-Boot的移植  6.2.5 添加U-Boot命令  6.3 U-Boot的调试  6.3.1 硬件调试器  6.3.2 软件跟踪  6.3.3 U-Boot启动过程  6.3.4 U-Boot与内核的关系  6.4 使用U-Boot  6.4.1 烧写U-Boot到Flash  6.4.2 U-Boot的常用命令[1]  6.4.2 U-Boot的常用命令[2]  6.4.3 U-Boot的环境变量 141

    标签: uclinux 详细介绍 移植 过程

    上传时间: 2017-03-09

    上传用户:洛木卓

  • 薛超英数据结构实习一答案 设有n个人站成一圈

    薛超英数据结构实习一答案 设有n个人站成一圈,每个人持有一个密码(正整数)。现从第t个人开始,按顺时针方向“1,2,3,4,…”循环报数,数到m1(第t个人所持密码)的人出列,然后从出列者的下一个人重新开始报数,数到m2(刚出列者所持密码)的人又出列,如此重复进行,直到n个人都出列为止。 问题是:对于任意给定的n个人的原始排列顺序,求出n个人的出列顺序。 输入数据从文本文件“实习1数据.txt”中读取。该文件有两行:第1行只有一个整数,表示报数的起始位置;第2行是n个所持密码。 输出结果显示在屏幕上。 例如,从文本文件读取数据 2 5 6 3 2 2 4 屏幕显示 1 6 5 3 4 2

    标签: 数据结构 实习

    上传时间: 2014-01-05

    上传用户:thuyenvinh