-
ForK1
我们的目的是将一个分数拆分成若干个分子是1分母是正整数的分数之和的形式。例如2/3可以拆分成1/2+1/6的形式。这里不考虑顺序,比如1/6+1/2和1/2+1/6相同。
输入p, q, a, n, 其中p/q为分数,对这个分数进行拆分,要求拆分的分数个数不能多于n个,所有分母的乘积不能大于a。求有多少种拆分方法?
输入:最多200组数据。在每行中都有四个数分别表示p, q, a, n,之间以空格隔开,并且满足p,q<=800,a<=12000,n<=7,最后以四个0做为输入的结束。
输入示例:
2 3 120 3
2 3 300 3
0 0 0 0
输出示例:
4
7
(Our aim is to split a fraction into a number of elements is a denominator is a positive integer fraction of the sum of form. For example, 2/3 can be split into 1/2+1/6 form. Not considered here, the order, such as 1/6+1/2 and 1/2+1/6 of the same. Input p, q, a, n, where p/q as a fraction of this split scores require no more than the number of split points n-all the product of the denominator can not be larger than a. How many kinds of demand split method? Input: Up to 200 sets of data. In each line has four numbers indicate the p, q, a, n, separated by a space between, and meet the p, q < = 800, a < = 12000, n < = 7, the end, four 0 as the input end. Input Example: 2,312,032,330,030,000 sample output: 47)
- 2009-11-12 09:54:17下载
- 积分:1
-
2
说明: matlab软件编程实现虚拟的函数信号发生器(Function Generator)
- 2010-04-06 22:24:32下载
- 积分:1
-
quedinginhaopinpufenxi
说明: 课件主要讲解了周期信号,非周期信号脉冲信号的原理以及MATLAB的编程(Courseware mainly explained the periodic signals, aperiodic signals, and the principle of pulse MATLAB programming)
- 2010-04-27 11:20:10下载
- 积分:1
-
kuaisufuliyebianhuan
介绍了快速Fourier变换算法(FFT)的核心思想及其算法描述,并用Matlab程序设计语言实现了FFT算法.最后,举例说明用FFT算法计算复函数f(x)的插值函数(Introduced the fast Fourier transform (FFT) algorithm and its core idea of the algorithm description and using Matlab programming language to implement the FFT algorithm. Finally, an example using the FFT algorithm to calculate complex function f (x) is the interpolation function)
- 2013-12-14 15:50:44下载
- 积分:1
-
SparseBayes
利用稀疏贝叶斯实现的图像分类,实现效果很好,matlab代码(Sparse Bayesian image classification implemented to achieve good results, matlab codes)
- 2015-06-18 11:16:33下载
- 积分:1
-
wffc
微分方程实验MATLAB实现,以及中文说明()
- 2007-08-21 16:32:59下载
- 积分:1
-
radon56
车牌水平矫正中radon变换的应用,注意radon变换检测直线方向有几种,有基于投影最大值的,有基于车牌字符空隙的等。(The level of radon transform plate correction application, pay attention to radon transform to detect straight line there are several, with the maximum value based on the projection, there are gaps in the other characters on license plates.)
- 2010-07-26 10:32:42下载
- 积分:1
-
cs-speech-enhancement
文利用带噪语音经特征基函数矩阵转换后所具有的稀疏特性,用最大似然估计方法对转换后得到的稀疏
分量进行非线性压缩去噪,然后再经过反变换和重构恢复出原始语音信号的估计。特征基函数矩阵反映了语音数据本
身的统计特性,因此具有很好的合理性和可取性。仿真结果表明利用稀疏编码方法能极大程度地抑制背景噪卢,与小波消噪法相比优势明显。(a speech enhancement algorithm based Compressed Sensing.)
- 2014-01-20 17:00:09下载
- 积分:1
-
几何学模型路径跟踪
无人驾车车轨迹跟踪控制,是目前社会研究的重点。本程序代码实现matlab联合carsim进行联合仿真,实现追踪给定轨迹。经测试,在低速状态,追踪效果很理想。(Unmanned driving vehicle trajectory tracking control, is currently the focus of social research.This procedure code realization of matlab joint carsim joint simulation, track the given trajectory.After the test, in low speed condition, tracking effect is very ideal.)
- 2017-07-21 09:26:22下载
- 积分:1
-
Task5.1QPSK
Alamouti code for qpsk made easy
- 2010-08-20 12:01:00下载
- 积分:1