简体   繁体   中英

Matlab quadratic equation/convolution

I've got a convolution where the final result is y=(-t/2)+5t=6

Is there any chance to check this in matlab but not through convolution, I have programmed that part. 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 .

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] .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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