-
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
-
rode_detection
说明: 是自己上模式识别讨论课时黄庆明老师布置的大作业,是关于基于消失点的道路侦测算法,对视觉导航研究很有帮助(Pattern recognition is discussed on their own class teacher arranged a big job Huang Qingming, is based on the vanishing point on the road detection algorithm is useful for visual navigation of)
- 2011-03-16 23:49:58下载
- 积分:1
-
W09-0006
optimal location of capacitor in radial distribution system
- 2013-12-15 13:19:25下载
- 积分:1
-
BPSK
Bpsk代码,用Matlab 产生BPSK代码(Bpsk code, BPSK code generated by Matlab)
- 2010-11-20 22:30:24下载
- 积分:1
-
GA_TSP12
与本人上次上传的类别一样,都是利用遗传算法求解TSP问题,本次采用的开发环境为 matlab!(From my previous categories, are the use of genetic algorithm to solve TSP problems, the development environment for the use of matlab!)
- 2008-05-23 02:14:01下载
- 积分:1
-
EBooks
Five very good books. They are A Novel Method to Analyze Electromagnetic Scattering of Complex Objects, matlab&GUI, Win32 API Reference for HLA, Monte carlo strategy in scientific computation, Data structure and C++ algortihms.
- 2011-08-19 06:24:58下载
- 积分:1
-
MatchFilterLFM
高分辨率雷达 距离向压缩算法滤波器设计 三种方法 全面设计(clc
clear all
close all
2013年9月28日
---------------参数----------
Tr=42e-6
fs=9.5e6
K=0.7e11
Nfft=2048
-------------匹配滤波 时域生成--------------
t=(-Tr/2+1/fs:1/fs:Tr/2-1/fs)
w = kaiser(length(t),2.5)
w=w
w = ones(1,length(t))
ht1=w.*exp(-1i*pi*K*t.^2)
ht2=w.*exp(1i*pi*K*t.^2)
hf1=fft(ht1,Nfft)
hf2=fft(ht2,Nfft)
figure
subplot(211)
plot(abs(hf1))
title( 匹配滤波器1 幅频响应 )
subplot(212)
plot(phase(hf1))
title( 匹配滤波器1 相位 )
figure
subplot(211)
plot(abs(hf2))
title( 匹配滤波器2 幅频响应 )
)
- 2013-10-12 22:32:06下载
- 积分:1
-
sp.m
基于扩频的数字水印技术,水印信息分布于载体作品的多个频率系数,每个频率系数上负荷的水印能量很小,平衡水印的鲁棒性和不可感知性上的矛盾。(Digital watermarking based on spread spectrum technology, the watermark is found in a number of frequency coefficient vector works, each frequency coefficient on the load of the watermark energy is small, balance the robustness and non-perception of the conflict.)
- 2010-06-03 10:27:03下载
- 积分:1
-
subspaceTracking
标准的子空间跟踪算法,配合卡尔曼滤波算法,可用于移动用户跟踪(past-d subspace tracking )
- 2021-03-14 11:49:23下载
- 积分:1
-
Lpcc
说明: 基于matlab上的指纹识别配合ccs接口同时以对应的硬件为平台使ccs和matlab互联达到ccs2.21负责硬件数据获取matlab作为硬件处理的过程(Based on the fingerprint matlab ccs interfaces both with the corresponding hardware platform to interconnect to ccs2.21 ccs, and matlab for data acquisition hardware, as hardware processing matlab process)
- 2010-04-25 13:33:07下载
- 积分:1