• 大小: 44KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-05-16
  • 语言: 其他
  • 标签: 波峰面积  

资源简介

qt将1000个数据画波形,曲线滤波, 波峰面积,并对曲线进行平滑显示,平滑以后通过算法将其两个波峰面积求出来。

资源截图

代码片段和文件信息

#include “curves.h“
#include 
#include 
#include 
#include 
#include 
#include 

#include 

#define length 640//length取屏幕大小
void showAfter();
void showbefore();
int number=0;
int Ylarge=20;
int xwidth=20;
int yposition=400;
int WIDTH;
float trydata[]=
{

3.585777
3.509484
3.509484
3.43319
3.509484
3.356897
3.356897
3.356897
3.280604
3.509484
3.509484
3.43319
3.356897
3.280604
3.43319
3.43319
3.43319
3.43319
3.356897
3.43319
3.509484
3.43319
3.43319
3.356897
3.43319
3.509484
3.585777
3.585777
3.509484
3.585777
3.509484
3.509484
3.585777
3.509484
3.509484
3.356897
3.356897
3.356897
3.356897
3.585777
3.509484
3.509484
3.509484
3.585777
3.738363
3.585777
3.585777
3.509484
3.585777
3.509484
3.509484
3.509484
3.509484
3.509484
3.509484
3.585777
3.585777
3.509484
3.585777
3.585777
3.585777
3.509484
3.43319
3.509484
3.509484
3.509484
3.585777
3.43319
3.585777
3.43319
3.43319
3.585777
3.585777
3.66207
3.585777
3.585777
3.509484
3.43319
3.585777
3.585777
3.585777
3.66207
3.738363
3.66207
3.66207
3.585777
3.585777
3.66207
3.66207
3.66207
3.585777
3.509484
3.66207
3.509484
3.43319
3.509484
3.509484
3.585777
3.585777
3.66207
3.738363
3.738363
3.738363
3.738363
3.814656
3.738363
3.890949
3.890949
3.890949
3.814656
3.738363
3.890949
3.814656
3.814656
3.738363
3.814656
3.738363
3.66207
3.66207
3.66207
3.814656
3.738363
3.738363
3.738363
3.814656
3.890949
3.814656
3.890949
3.890949
4.119828
4.119828
4.043535
4.043535
4.196122
4.119828
4.119828
4.043535
4.272415
4.272415
4.425001
4.348708
4.501294
4.501294
4.577587
4.425001
4.577587
4.577587
4.65388
4.730173
4.806467
4.806467
4.730173
4.88276
4.959053
4.959053
5.035346
5.111639
5.111639
5.187932
5.340518
5.340518
5.340518
5.340518
5.493105
5.493105
5.645691
5.721984
5.721984
5.798277
5.87457
5.87457
6.027156
6.10345
6.179743
6.332329
6.408622
6.408622
6.713795
6.790088
7.018967
7.09526
7.09526
7.32414
7.32414
7.553019
7.705605
7.858191
8.010778
8.163364
8.31595
8.392243
8.468536
8.544829
8.773709
8.926295
9.078881
9.307761
9.53664
9.765519
9.841812
10.070692
10.223278
10.604744
10.833623
10.909916
11.215089
11.443968
11.596554
11.825434
12.054313
12.206899
12.435779
12.740951
12.893537
13.122417
13.427589
13.580175
13.732762
13.809055
13.961641
14.266813
14.4194
14.571986
14.800865
15.029745
15.258624
15.563796
15.792676
16.021555
16.174141
16.403021
16.555607
16.784486
16.784486
17.013366
17.165952
17.394831
17.700004
18.005176
18.234056
18.386642
18.615521
18.7

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      51993  2012-02-28 15:22  波形\curves

     文件      19111  2012-02-28 15:22  波形\Curves.cpp

     文件      13112  2012-02-28 15:22  波形\Makefile

     文件        106  2012-02-28 15:22  波形\main.cpp

     文件        237  2012-02-28 15:22  波形\build

     文件        165  2012-02-28 15:22  波形\curves.pro

     文件       3178  2012-02-28 15:22  波形\CurvesForm.ui

     文件        804  2012-02-28 15:22  波形\curves.h

     文件      10152  2012-02-28 15:22  波形\.obj\release-shared\Curves.o

     文件      12168  2012-02-28 15:22  波形\.obj\release-shared\main.o

     文件       5148  2012-02-28 15:22  波形\.obj\release-shared\CurvesForm.o

     文件      12264  2012-02-28 15:22  波形\.obj\release-shared\moc_curves.o

     文件      11240  2012-02-28 15:22  波形\.obj\release-shared\moc_CurvesForm.o

     文件       3400  2012-02-28 15:22  波形\.moc\release-shared\moc_curves.cpp

     文件       2639  2012-02-28 15:22  波形\.moc\release-shared\moc_CurvesForm.cpp

     文件        909  2012-02-28 15:22  波形\.ui\release-shared\CurvesForm.h

     文件       2049  2012-02-28 15:22  波形\.ui\release-shared\CurvesForm.cpp

     目录          0  2012-02-28 15:22  波形\.obj\release-shared

     目录          0  2012-02-28 15:22  波形\.moc\release-shared

     目录          0  2012-02-28 15:22  波形\.ui\release-shared

     目录          0  2012-02-28 15:22  波形\.obj

     目录          0  2012-02-28 15:22  波形\.moc

     目录          0  2012-02-28 15:22  波形\.ui

     目录          0  2012-02-28 15:22  波形

----------- ---------  ---------- -----  ----

               148675                    24


评论

共有 条评论

相关资源