搜索结果
找到约 1,235 项符合
soft-input 的查询结果
微处理器开发 Embedded systems for specific applications, usually in the centre, and as the core processor for the
Embedded systems for specific applications, usually in the centre, and as the core processor for the practical application of soft
Hardware systems, the hardware is the basis of the embedded operating system and platform, the software provides the necessary operational
Physical platform and commun ...
DSP编程 This example demonstrates the use of the ADC block and PWM blocks. The generated DSP code produces t
This example demonstrates the use of the ADC block and PWM blocks. The generated DSP code produces the pulse waveform whose duty cycle is changing as the voltage applied to ADC input changes. The waveform period is kept constant.
数学计算 算法实现题1-2 连续和问题 « 问题描述: 给定一个正整数n
算法实现题1-2 连续和问题
&laquo 问题描述:
给定一个正整数n,计算有多少个不同的连续自然数段,其和恰为n。例如,当n=27
时,有4 个不同的连续自然数段的和恰为27:2+3+4+5+6+7;8+9+10;13+14;27。
&laquo 编程任务:
给定一个正整数n,试设计一个O(n)时间算法,计算有多少个不同的连续自然数段的
和恰为n。
&laquo 数 ...
数学计算 Ex3-23 亲兄弟问题 « 问题描述: 给定n 个整数0 1 1 , , , n- a a  a 组成的序列。序列中元素i a 的亲兄弟元素k a 定义为: min{
Ex3-23 亲兄弟问题
&laquo 问题描述:
给定n 个整数0 1 1 , , , n- a a &#61516 a 组成的序列。序列中元素i a 的亲兄弟元素k a 定义为:
min{ | } k i j n j j i a = a a &sup3 a
< <
。
亲兄弟问题要求给定序列中每个元素的亲兄弟元素的位置。元素i a 的亲兄弟元素为k a
时,称k 为元素i a 的亲兄弟元素的位置。当元素i a ...
数学计算 Ex8-4 汇点问题 « 问题描述: 采用邻接矩阵表示一个具有n 个顶点的图时
Ex8-4 汇点问题
&laquo 问题描述:
采用邻接矩阵表示一个具有n 个顶点的图时,大多数关于图的算法时间复杂性为
O(n2 ),但也有例外。例如,即使采用邻接矩阵表示一个有向图G,确定G 是否含有一个
汇(即入度为n-1,出度为0 的顶点),只需要O(n)计算时间。试写出其算法。
&laquo 编程任务:
对于给定的有n个顶点的图G 的邻 ...
数学计算 算法实现题1-5 最大间隙问题 « 问题描述: 最大间隙问题:给定n 个实数x , , xn 1 2 
算法实现题1-5 最大间隙问题
&laquo 问题描述:
最大间隙问题:给定n 个实数x , , xn 1 2 &#61516 ,求这n 个数在实轴上相邻2 个数之间的最
大差值。假设对任何实数的下取整函数耗时O(1),设计解最大间隙问题的线性时间算法。
&laquo 编程任务:
对于给定的n 个实数n x , x , , x 1 2 &#61516 ,编程计算它们的最大间隙。
& ...
数学计算 Ex4-22 单射函数问题 « 问题描述: 设函数f将点集S = {0,1, , n -1}映射为f (S) = { f (i) | iÎ S} Í
Ex4-22 单射函数问题
&laquo 问题描述:
设函数f将点集S = {0,1,&#61516 , n -1}映射为f (S) = { f (i) | i&Icirc S} &Iacute S 。单射函数问题要
从S中选取最大子集X &Iacute S 使f (X )是单射函数。
例如,当n=7, f (S) = {1,0,0,2,2,3,6} &Iacute S 时, X = {0,1,6} &Iacute S 是所求的最大子集。
&laquo 编程任务:
...
加密解密 Tasks Read the textbook about the details of Vigenére Cipher. Implement the algorithm by C or C++.
Tasks
Read the textbook about the details of Vigenére Cipher.
Implement the algorithm by C or C++.
Requirements
You do this lab in a group of two students.
Your program should have input and output as follows:
csci>a.out
--> Please input the key:
receptive
--> Please input the plain text:
wearedis ...
matlab例程 % DYNMODES calculates ocean dynamic vertical modes % taking a column vector of Brunt-Vaisala values
% DYNMODES calculates ocean dynamic vertical modes
% taking a column vector of Brunt-Vaisala values (Nsq) at
% different pressures (p) and calculating some number of
% dynamic modes (nmodes).
% Note: The input pressures need not be uniformly spaced,
% and the deepest pressure is assumed to ...