我是靠谱客的博主 沉默睫毛,这篇文章主要介绍用Matlab将离散传递函数转换为连续传递函数,现在分享给大家,希望可以做个参考。

离散传递函数表达式:

 实现代码:

dsys=tf([3 2 1],[1 -6 4 -7],0.01)%离散传递函数表达式
scsys=d2c(dsys,'tustin');
[num,den]=tfdata(scsys,'v')
H=tf([num],[den])%连续传递函数表达式

输出结果:

正文内容到此结束!!!!!!!!!!

int main()
{
    double  x, y, a;
    for (y = 1.5; y > -1.5; y -= 0.1)
    {
        for (x = -1.5; x < 1.5; x += 0.05)
        {
            a = x * x + y * y - 1;
            char ch = a * a * a - x * x * y * y*y <= 0.0 ? '*' : ' ';
            putchar(ch);
        }
        system("color 0c");   //修改颜色
        printf("n");
    }
    printf("感谢好心人");
    return 0;
}

最后

以上就是沉默睫毛最近收集整理的关于用Matlab将离散传递函数转换为连续传递函数的全部内容,更多相关用Matlab将离散传递函数转换为连续传递函数内容请搜索靠谱客的其他文章。

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

评论列表共有 0 条评论

立即
投稿
返回
顶部