-
pat实战,家庭房产
对家庭房产这道题目的详细解读,使用并查集实现,对并查集的使用方法进行了详细的借读费,阅读这段代码之后,相信你对并查集会有深入的了解
- 2022-07-08 15:32:40下载
- 积分:1
-
WKBCal
说明: 光通信计算,利用公式计算折射率分布,特别为化学方法产生的器件(optical communication, the use of the refractive index distribution formula, particularly for the chemical device)
- 2021-05-13 23:30:03下载
- 积分:1
-
libusb
说明: usblib完整库,包含例子,各位仅供参考一下(Usblib complete library, including examples)
- 2020-02-28 06:15:31下载
- 积分:1
-
example4_3
例3:分析占空比为ta的矩形脉冲频谱
T=1 时间窗大小
ta=0.5 占空比
N=256
t=linspace(-T,T,N)
ts=2*T/N
fs=1/ts
(x=zeros(1,N)
x(N/2-round(N/2*ta):N/2+round(N/2*ta))=ones(1,2*round(N/2*ta)+1)
y=fft(x,N)
figure
plot(t,x)
title([ 时域信号图 占空比为 ,num2str(ta)])
axis([-T T-0.2 1.2])
xlabel( t /s )
figure
subplot(211)
f=linspace(-fs/2,fs/2,N)
plot(f,abs(fftshift(y))/N)
title([ 矩形脉冲双边谱 脉冲时间t=[- ,num2str(ta*T), , ,num2str(ta*T), ] ])
xlabel( f /Hz )
)
- 2010-05-25 20:59:59下载
- 积分:1
-
ch04-Light-160421
说明: 嵌入式开发入门学习,基于KL25的样例工程,KDS环境下编写。(Introductory learning of embedded development, based on KL25 sample engineering, written in KDS environment.)
- 2019-02-28 21:46:08下载
- 积分:1
-
网吧
本文应用C语言编写,应用文档存储数据,基本的增删改查都在上面(The basic additions and deletions are all above.)
- 2018-10-12 14:17:38下载
- 积分:1
-
生成器代码
一种生成器http://www.codeforge.cn/article/347652http://www.codeforge.cn/article/347652http://www.codeforge.cn/article/347652http://www.codeforge.cn/article/347652http://www.codeforge.cn/article/347652http://www.codeforge.cn/article/347652http://www.codeforge.cn/article/347652
- 2022-03-03 08:26:08下载
- 积分:1
-
TestDataGridMergeCell
在WPF的DataGrid上实现按行合并单元格(WPF DataGrid MergeCell)
- 2020-11-19 15:49:37下载
- 积分:1
-
hex转bin的程序
hex转bin的程序, 支持大于64K的hex, 网上下载的Hex2Bin不支持64k. 包含工程文件, 简单包装即可生成一个Hex2Bin的小程序【核心代码】 String szLine = ""; String szHex = ""; if (szHexPath == "") { MessageBox.Show("请选择需要转换的目标文件! ", "错误"); return; } StreamReader HexReader = new StreamReader(szHexPath); while (true) { szLine = HexReader.ReadLine(); //读取一行数据 if (szLine == null) //读完所有行 { break; } if (szLine.Substring(0, 1) == ":") //判断第1字符是否是: { if (szLine.Substring(1, 8) == "00000001")//数据结束 { break; } szHex = szLine.Substring(9, szLine.Length - 11); //读取有效字符 } } HexReader.Close(); //关闭目标文件 Int32 i; Int32 j = 0; Int32 Length = szHex.Length; byte[] szBin = new byte[Length]; pbConvert.Maximum = Length / 2; for (i = 0; i < Length; i = 2) //两字符合并成一个16进制字节 { szBin[j] = (byte)Int16.Parse(szHex.Substring(i, 2), NumberStyles.HexNumber); j ; pbConvert.Increment(i); } if (szBinPath == "") { szBinPath = Path.ChangeExtension(szHexPath, "bin"); tbBinPath.Text = szBinPath; } FileStream fBin = new FileStream(szBinPath, FileMode.Create); //创建文件BIN文件 BinaryWriter BinWrite = new BinaryWriter(fBin); //二进制方式打开文件 BinWrite.Write(szBin, 0, Length); //写入数据 BinWrite.Flush();//释放缓存 BinWrite.Close();//关闭文件 MessageBox.Show("文件转换完成! ", "提示"); } catch (Exception ex) { MessageBox.Show(ex.ToString()); }
- 2020-12-05下载
- 积分:1
-
matlab三维重建程序
matlab三维重建程序,有用有用有用的(Matlab 3D reconstruction program)
- 2017-09-14 20:38:36下载
- 积分:1