ICode9

精准搜索请尝试: 精确搜索
  • Matlab-FFT2021-11-11 14:32:29

    搬运工,完整的多版本FFT代码在这里,分享给大家。 叮叮当当sunny-FFThttps://www.cnblogs.com/dingdangsunny/p/12573744.html#_label3 function [Fre,Amp,Ph] = FFT(data,Fs,ampDB,isDetrend) % 快速傅里叶变换 % data:波形数据 % Fs:采样率 % ampDB:逻辑值,是否进

  • c语言实现的简单英文文章分词,输出并且记录频次。2021-10-13 23:02:54

    代码如下:(思路全在代码注释里了) #include<stdio.h> #include<stdlib.h> #include<string.h> #define MAXSIZE 30//每个单词的最大长度为30 typedef struct node{ char word[MAXSIZE];//单词 int fre;//出现频次 struct node *nextW;//指向下一个节点 }NODE,*wordNode;//词节点

  • FPGA编译错误: Verilog HDL Conditional Statement error at test.v(43): cannot match operand(s)2021-08-25 13:06:28

    关于Error (10200): Verilog HDL Conditional Statement error at test.v(43): cannot match operand(s) in the condition to the corresponding edges in the enclosing event control of the always construct问题 代码1如下: always @(posedge clk or negedge rst ) begin

  • 【数字信号处理】基于matlab GUI数字信号处理系统【含Matlab源码 1088期】2021-07-03 14:35:23

    一、简介 基于matlab GUI数字信号处理系统 二、源代码 function varargout = main(varargin) % MAIN M-file for main.fig % MAIN, by itself, creates a new MAIN or raises the existing % singleton*. % % H = MAIN returns the handle to a new MAIN or the ha

  • PTA 题解:jmu-Java&Python-统计文字中的单词数量并按出现次数排序2021-01-15 02:33:06

    目录题目说明题干测试数据 1输入样例输出样例测试数据 2输入样例输出样例题目分析去除标点符号统计词频单词排序 题目说明 题干 测试数据 1 输入样例 failure is probably the fortification in your pole it is like a peek your wallet as the thief when you are thinking ho

  • 滤波器系数、单位脉冲响应、频率响应等概念笔记2020-11-16 14:34:08

    单位脉冲响应:单位脉冲和滤波器系数的卷积。 对于FIR滤波器来说,单位脉冲响应就是滤波器系数。对于IIR滤波器,应该是需要用matlab中的filter函数,得到单位脉冲响应。 频率响应:幅度和相位随频率的变化关系。具体地,幅度随频率的变化关系称为幅频响应;相位随频率的变化关系称为相频相应。

  • leetcode-895 Maximum Frequency Stack2020-11-06 11:01:17

    Implement FreqStack, a class which simulates the operation of a stack-like data structure. FreqStack has two functions:   push(int x), which pushes an integer x onto the stack.    pop(), which removes and returns the most frequent element in the stack

  • C语言 双链表的频度排序管理2020-09-13 12:01:58

    题目: 有一个双链表L,每一个节点中除有prior、data和next三个域外,还有一个访问频度域freq,在链表被起用之前,其值均初始化为零。每当进行LocateNode(L,x)运算时,令元素值为x的节点中freq域的值加1,并调整表中节点的次序,使其按访问频度的递减序列排序,以便使频繁访问的节点总是靠近表头。

  • 【2015NOIP普及组】T2 扫雷游戏2020-05-02 11:41:49

    P2670 扫雷游戏 题目传送门 方法一: #include<cstdio> #include<iostream> #include<cmath> #include<cstring> #include<string> #include<algorithm> #include<vector> #define fre(x) freopen(#x".in","r",stdin),freop

  • leetcode 460 LFU缓存2020-04-06 19:55:54

    原题点这里     class Node implements Comparable<Node>{ public int key; public int value; public int lastTime; public int fre; public Node(int key,int value,int lastTime){ this.key=key; this.value=value; this.

  • Pandas的数据清洗2020-03-03 11:07:22

    原始数据:  filecpu= "./statistic.csv" filefre= "./statistic_freq.csv" data_statistic = pd.read_csv(filecpu) data_statistic_fre = pd.read_csv(filefre, sep=" ,split, ")   print(data_statistic.dtypes) print('-----') pri

  • 【Fishing Master HDU - 6709 】【贪心】2019-08-25 18:57:30

    题意分析 题意:题目给出n条鱼,以及捕一条鱼所用的时间k,并给出煮每一条鱼的时间,问抓完并煮完所有鱼的最短时间。 附题目链接 思路: 1.捕第一条鱼的时间是不可避免的,煮每条鱼的时间也是不可避免的,这些都要算上。 2.可以优化的是煮鱼的时间,在时间允许的范围内可进行捕其他鱼。当然煮鱼的

  • PAT 甲级 1129 Recommendation System2019-08-17 14:06:51

    Recommendation system predicts the preference that a user would give to an item. Now you are asked to program a very simple recommendation system that rates the user’s preference by the number of times that an item has been accessed by this user. Inpu

  • python 数据可视化2019-05-19 20:47:45

    数据可视化 # -*- coding:utf-8 -*-# 异常值处理import pandas as pdaimport numpy as npyimport matplotlibmatplotlib.use('Agg')import matplotlib.pyplot as pylimport io数据可视化# 评论数异常>100000,价格异常>1000line = len(data.values)col = len(data.values[0])da = da

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有