声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 7098|回复: 19

[工具箱] 如何调用matlab中的工具箱

[复制链接]
发表于 2014-4-1 14:54 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
我在matlab中安装了一个EMD的工具箱,想请教各位怎样使用这个工具箱呢,先谢过大家了
回复
分享到:

使用道具 举报

发表于 2014-4-2 09:14 | 显示全部楼层
本帖最后由 牛小贱 于 2014-4-4 17:01 编辑

关于EMD工具箱的使用教程,见附件:讲解很详细,包括工具函数、分解函数讲解,还有例子!!希望对你学习EMD有所帮助。

EMD工具箱的使用教程(实例很多).rar

698.5 KB, 下载次数: 122

点评

呵呵,那我改一下!  发表于 2014-4-4 17:01
主任缺体能喔! 开个小玩笑, 别介意  发表于 2014-4-4 16:59

评分

1

查看全部评分

回复 支持 2 反对 0

使用道具 举报

发表于 2014-4-2 13:38 | 显示全部楼层
matlab菜单栏file->set path->addwithsubfolders-->选择emd文件夹-->save->close

评分

2

查看全部评分

 楼主| 发表于 2014-4-2 14:19 | 显示全部楼层
chybeyond 发表于 2014-4-2 13:38
matlab菜单栏file->set path->addwithsubfolders-->选择emd文件夹-->save->close

这个是安装过程吧,不过还是谢谢你了
 楼主| 发表于 2014-4-2 14:24 | 显示全部楼层
牛小贱 发表于 2014-4-2 09:14
关于EMD工具箱的使用教程,见附件:讲解很详细,包括工具函数、分解函数讲解,还有例子!!希望对你学习EMD ...

谢谢,我先下来学习学习
发表于 2014-4-2 19:45 | 显示全部楼层
nice_cc 发表于 2014-4-2 14:19
这个是安装过程吧,不过还是谢谢你了

不好意思,没看清标题,这是别人一篇博客文章你可以参考下
工具箱函数
    运行help index_emd可以查看工具箱提供的函数,如下
index_emd.M list of functions in the EMD package

  type help function_name for more information on a specific function

  Empirical Mode Decomposition

    emd          - computes EMD and bivariate/complex EMD with various options
    emd_local    - computes local EMD variation
    emd_online   - computes on-line EMD variation. Note that it does not truly
                   apply on-line: the function is only a demonstration.
    emdc         - fast implementation for EMD with Cauchy-like stopping criterion
                   (requires compilation, see make_emdc function)
    emdc_fix     - fast implementation for EMD with predefined number of iterations
                   (requires compilation, see make_emdc function)
    cemdc        - fast implementation for bivariate/complex EMD (first algorithm)
                   with Cauchy-like stopping criterion (requires compilation,
                   see make_emdc function)
    cemdc_fix    - fast implementation for bivariate/complex EMD (first algorithm)
                   with predefined number of iterations (requires compilation,
                   see make_emdc function)
    cemdc2       - fast implementation for bivariate/complex EMD (second algorithm)
                   with Cauchy-like stopping criterion (requires compilation,
                   see make_emdc function)
    cemdc2_fix   - fast implementation for bivariate/complex EMD (second algorithm)
                   with predefined number of iterations (requires compilation,
                   see make_emdc function)

  Utilities

    install_emd   - setup Matlab's path and compile the C codes.
    uninstall_emd - revert the modifications made by install_emd and remove the
                    files (optional).
    make_emdc     - compile all C codes
    emd_visu      - visualization of EMD
    cemd_visu     - visualization of bivariate/complex EMD (automatically called
                    by emd_visu when the input is complex)
    cenvelope     - compute envelope curves for bivariate/complex EMD
    cemd_disp     - visualization of envelope curves and tube envelope
    plot3c        - plot a complex vector in 3 dimensions
    plotc         - plot the projection of a complex vector on a variable direction
    dirstretch    - directional stretching of a complex vector
    hhspectrum    - compute Hilbert-Huang spectrum (need the Time-Frequency Toolbox
                    http://tftb.nongnu.org)
    toimage       - transform a spectrum made of 1D functions (e.g., output of
                    "hhspectrum") in an 2D image
    disp_hhs      - display the image output of "toimage" as a Hilbert-Huang spectrum
    addtag        - add a tag to a graphic object (uses the Tag property as a list
                    of keywords or "tags")
    rmtag         - remove a tag from a graphic object (uses the Tag property as
                    a list of keywords or "tags")
    hastag        - test whether a graphic object has a specific tag (uses the Tag
                    property as a list of keywords or "tags")
    findtag       - find objects having a specific tag (uses the Tag property as
                    a list of keywords or "tags")
   
  Examples from G. Rilling, P. Flandrin and P. Gon鏰lves,
    "On Empirical Mode Decomposition and its algorithms"
    IEEE-EURASIP Workshop on Nonlinear Signal and Image Processing
    NSIP-03, Grado (I), June 2003
   
    emd_fmsin         - Fig. 1: a 3-component example (need the Time-Frequency
                        Toolbox http://tftb.nongnu.org)
    emd_triang        - Fig. 2: another 3-component example
    emd_sampling      - Fig. 3: effect of sampling on 1 tone
    emd_separation    - Fig. 4: separation of 2 tones
    ex_online         - Sect 3.4: the way emd_online.m works
    triangular_signal - subroutine called by emd_triang (formerly triang.m)
   
  Examples from G. Rilling, P. Flandrin, P. Gon鏰lves and J. M. Lilly,
    "Bivariate Empirical Mode Decomposition",
    Signal Processing Letters (submitted)

    bivariate_EMD_principle        - Fig. 1: principle of the bivariate/complex EMD
    bivariate_EMD_mean_definitions - Fig. 2: definition of the mean for each algorithm.
                                     Also allows to test other signals and parameter sets.
    bivariate_EMD_illustration     - Fig. 3: illustration of the bivariate EMD
                                     on an oceanographic float position record
    稍做整理如下:
EMD分解函数
emd 计算EMD、双变量/复数EMD
emd_local   计算local EMD
emd_online  计算在线EMD(不是真正在线应用,此函数只是一个示范)
emdc   使用Cauchy-like停止准则的快速EMD实现,需编译
emdc_fix  使用预定义迭代次数的快速EMD实现,需编译
cemdc   使用Cauchy-like停止准则的快速双变量/复数EMD实现(方法1),需编译
cemdc_fix
使用预定义迭代次数的快速双变量/复数EMD实现(方法1),需编译
cemdc2
使用Cauchy-like停止准则的快速双变量/复数EMD实现(方法2),需编译
cemdc2_fix
使用预定义迭代次数的快速双变量/复数EMD实现(方法2),需编译
工具函数
install_emd 设置Matlab路径,编译c代码
uninstall_emd 回复install_emd做的修改,移除文件
make_emdc 编译c代码
emd_visu EMD可视化
cemd_visu 双变量/复数EMD可视化(emd_visu的输入是双变量或复数时自动改为调用cemd_visu)
cenvelope 计算双变量EMD的包络曲线
cemd_disp 显示复数包络曲线
plot3c 三维中绘制复数向量
plotc 绘制复数向量在一个可变方向上的投影
dirstretch 复数向量的方向拉伸
hhspectrum 计算Hilbert-Huang谱(需要时频工具箱http://tftb.nongnu.org
toimage  将一个一维函数谱转化为图像
disp_hhs 以Hilbert-Huang谱的形式显示toimage函数的输出
addtag 添加标签到一个图形对象
rmtag 移除标签从一个图形对象
hastag 测试一个图形对象是否有指定的标签
findtag 找有指定标签的图形对象
来自《On Empirical Mode Decomposition and its algorithms》的Examples
emd_fmsin 一个包含3组分的例子(需要时频工具箱)
emd_triang
另一个包含3组分的例子
emd_sampling effect of sampling on 1 tone
emd_separation  separation of 2 tones
ex_online the way emd_online.m works
triangular_signal emd_triang文件调用的子程序


来自《Bivariate Empirical Mode Decomposition》的Examples
bivariate_EMD_principle  双变量/复数EMD原则
bivariate_EMD_mean_definitions 各种方法的平均值的定义
bivariate_EMD_illustration  双变量EMD在海洋漂流位置的应用图解
工具箱使用示例
EMD
clc
clear all
close all
% 原始数据
fs = 1000;
ts = 1/fs;
t=0:ts:0.3;
z=2*sin(2*pi*10*t) + 5.*sin(2*pi*100*t);
figure
plot(t, z)
title('原始信号')
% EMD
imf=emd(z);
emd_visu(z,t,imf)
[A,f,tt]=hhspectrum(imf);
[im,tt]=toimage(A,f);
disp_hhs(im);

评分

1

查看全部评分

 楼主| 发表于 2014-4-8 10:24 | 显示全部楼层
chybeyond 发表于 2014-4-2 19:45
不好意思,没看清标题,这是别人一篇博客文章你可以参考下
工具箱函数
    运行help index_emd可以查看 ...

真的太感谢了,我好好学习一下
发表于 2014-4-8 14:50 | 显示全部楼层
nice_cc 发表于 2014-4-8 10:24
真的太感谢了,我好好学习一下

不客气,送人玫瑰,手留余香
发表于 2014-4-14 20:05 | 显示全部楼层
真的太感谢了,我好好学习一下
发表于 2014-6-4 20:19 | 显示全部楼层
非常感谢~
发表于 2014-6-15 22:12 | 显示全部楼层
发表于 2014-6-28 14:43 | 显示全部楼层
我快疯了,我是新手,刚刚注册,我想下载EMD 这个程序,但是到哪个里面都是下载受限,谁能帮帮我啊,我在这里跪谢了,给我下EMD的程序,谢谢好心人啊,我的邮箱是lpdlcb@163.com
发表于 2014-6-28 15:07 | 显示全部楼层
lpdlcb 发表于 2014-6-28 14:43
我快疯了,我是新手,刚刚注册,我想下载EMD 这个程序,但是到哪个里面都是下载受限,谁能帮帮我啊,我在这 ...

〖新手必读〗之如何获取积分,提高权限(新)http://forum.vibunion.com/thread-132101-1-1.html

评分

1

查看全部评分

发表于 2014-10-8 20:42 | 显示全部楼层
Good Good Good Good!
发表于 2014-11-10 19:33 | 显示全部楼层
非常感谢
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-4-25 13:59 , Processed in 0.093819 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表