函数 [X1 X2] = fft_split(X) x = x1 + 1i*x2; X = fft(x); X1 = fft(x1); X2 = fft(x2); 当必须在资源有限的平台(例如小型 DSP 或 FPGA)上同时计算两个实值序列的 FFT 时,此操作很有用。 当长度为 2N 的实数序列的 FFT 仅使用一个长度为 N 的 FFT 计算时,此操作也很有用。 标准 FFT 算法需要复杂的输入序列。 如果只有真实的输入数据可用,计算 FFT 的最简单方法是将输入序列的虚部设置为零,但这会浪费计算资源。 如果只有复数 FFT 算法可用,更有效的方法是将输入数据的一半作为输入序列的实部,将输入数据的后半部分作为虚部来形成复数输入序列。输入序列。 然后可以对输入数据长度一半的序列执行 FFT。 FFT 的结果输出可以在之后进行拆分以获得原始真实输入数据的 FFT。 zip 文件中的
2022-11-30 13:57:53 8KB matlab
1
Measuring the electromagnetic properties of materials has important applications in many fields. In this paper, two electrically small sensors based on the split ring resonators (SRRs) with extended long legs, i.e., two-layer and three-layer magnetic coupled SRRs, are proposed to measure the permittivity of small samples of unknown materials. By virtue of several merits, such as extremely compact size for two-layer and three-layer magnetic coupled SRRs, respectively), high quality factor (Q), and stable resonance. Especially, the proposed three-layer magnetic coupled sensor with opposite splits on the SRRs is able to further improve the quality factor and have better stability compared with the two-layer coupled sensor. By different shifting resonant frequencies instead of the single ones and the polynomial fitting method, the proposed sensors can accuratelycalculatetheunknownpermittivity.Simulatedandexperimentalresultshavevalidatedtheefficacy of the proposed approach and designs. With the features of compact size and lower far-field radiation, the proposed resonators can be combined with various permittivity measurement algorithms to improve the measurement accuracy in a wide range of environments beyond the specific experimental setup.
2022-11-30 11:29:27 8.2MB SRRs Microwave Sensor
1
上一篇博客主要介绍了决策树的原理,这篇主要介绍他的实现,代码环境python 3.4,实现的是ID3算法,首先为了后面matplotlib的绘图方便,我把原来的中文数据集变成了英文。 原始数据集: 变化后的数据集在程序代码中体现,这就不截图了 构建决策树的代码如下: #coding :utf-8 ''' 2017.6.25 author :Erin function: decesion tree ID3 ''' import numpy as np import pandas as pd from math import log import operator def load_
2022-11-04 16:03:21 94KB python python算法 split
1
Linux工具split命令分割文件 分包工具
2022-10-20 19:00:44 293KB split 文件分割 分包
1
split_dos
2022-08-12 10:45:46 6KB split_dos
1
将分隔字符串拆分为元胞数组。 示例: split('_/', 'this_is__a_/_string/_//') 返回 {'this', 'is', 'a', 'string', []}。 在 MATLAB R12.1 和 R13 上测试。
2022-07-24 09:34:21 566B matlab
1
Unity平面网格划分器 现已可用。 一个简单的工具,可让您将任何网格划分为较小的子网格。 最初,它被设计为与导入的Tiled2Unity地形一起使用,但是我将其重写为可以处理的所有东西。 这个工具的目的是什么? 假设您在一个网格中有一个巨大的地形。 渲染时,Unity将处理整个网格(即使在相机前面只有一小部分可见)。 使用此工具,您可以将较大的网格划分为较小的子网格,这要归功于内置的“截头锥体”剔除(将仅渲染可见的网格),从而可以大大提高性能。 产品特点 简单而快速。 定制: 网格尺寸 多轴(任意组合) 产生对撞机的能力 ... 支持所有顶点数据: 法线 色彩 多个紫外线通道
2022-07-06 12:35:23 10.19MB map level optimization split
1
经常碰到字符串分割的问题,这里总结下,也方便我以后使用。 一、用strtok函数进行字符串分割 原型: char *strtok(char *str, const char *delim); 功能:分解字符串为一组字符串。 参数说明:str为要分解的字符串,delim为分隔符字符串。 返回值:从str开头开始的一个个被分割的串。当没有被分割的串时则返回NULL。 其它:strtok函数线程不安全,可以使用strtok_r替代。 示例: //借助strtok实现split #include #include int main() { char
2022-06-20 18:02:42 58KB split string strtok
1
使用件利用json文件将大图分割小图, 使用是请注意需要修改文件路径。 Python代码添加注释,适合学习巩固Python基础
2022-06-04 12:07:50 2KB Python split
1
split-merge程序的c++版本。显示了分裂过程和结果。加载和显示图片,显示分裂过程,用到了opencv3.1的库。核心算法全部用c++编写。个人根据书中的思路编写,求轻喷。
2022-05-30 01:40:45 5KB openc split-merge 区域分割与合 c+
1