我是靠谱客的博主 畅快背包,最近开发中收集的这篇文章主要介绍matlab from block,Generate block from a digital filter,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

In the first example, use block with the default syntax, letting the function determine the block name and configuration.

d = fdesign.lowpass('Fp,Fst,Ap,Ast',0.15,0.25,1,60);

hd = design(d);

Now use the default syntax to create a block.

block(hd);

f9f2b57f62d0da9528a2c759bd37196b.png

In this second example, define the block name to meet your needs by using the property name/property value pair input arguments.

block(hd, 'blockname', 'FIR Filter');

The figure shows the blocks in a Simulink model. When you try these examples, you see that the second block writes over the first block location. You can avoid this by moving the first block before you generate the second, always naming your block with the blockname property, or setting the Destination property to new which puts the filter block in a new Simulink model.

798e7180305267456080d1c1a53ac689.png

最后

以上就是畅快背包为你收集整理的matlab from block,Generate block from a digital filter的全部内容,希望文章能够帮你解决matlab from block,Generate block from a digital filter所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(49)

评论列表共有 0 条评论

立即
投稿
返回
顶部