简体   繁体   English

Matlab二次方程式/卷积

[英]Matlab quadratic equation/convolution

I've got a convolution where the final result is y=(-t/2)+5t=6 我有一个卷积,最终结果是y =(-t / 2)+ 5t = 6

Is there any chance to check this in matlab but not through convolution, I have programmed that part. 有没有机会在Matlab中对此进行检查,但没有通过卷积进行检查,我已经对该部分进行了编程。 What I am wondering is it possible to plot the signal using this equation and compare it with the one that I got with coding convolution. 我想知道是否有可能使用此等式绘制信号并将其与我通过编码卷积得到的信号进行比较。

You can plot functions easily in matlab: look at the examles from here . 您可以在matlab中轻松绘制函数:从此处查看示例。

For example using this code: 例如,使用以下代码:

t = 0:.1:10
plot(t,(-t/2)+5*t)

will plot you your function between the values x = [0, 10] . 将在x = [0, 10]值之间绘制函数。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM