Signals: Convolution
|
03-29-2016, 01:04 AM
(This post was last modified: 11-14-2017 07:47 PM by toshk.)
Post: #1
|
|||
|
|||
Signals: Convolution
Extended convolution code found on this forum. StatisticVar1
BAR plots for digital convolution (ask HP to give us stem plot). Can not plot zeros with Bar plot. Change from BAR plot to LINE plot if you want to see the zeros in the plot. this code will do piece-wise functions convolution; (LINE plot) Convd.hpprgm (Size: 5.78 KB / Downloads: 36) |
|||
03-29-2016, 01:23 AM
(This post was last modified: 04-01-2016 01:13 AM by toshk.)
Post: #2
|
|||
|
|||
RE: Signals: Convolution
lets do some convolution now (digital).
square brackets [] digital signal representation NOT accepted. conv({1,2,3,4,5},{10,9,,8,7,6,5,4,3,2,1}) conv({1,2,3,4,0,0,0,0},{1,0,1,0,1,0,0,0}) syntax for Piecewise function {} only!!!! CAS x only {func1, range1, func2, range2,......} {-x+2,x<1,2,1<=x<5,.5x+1,5>=x} conv({-x+2,x<1,2,1<=x<5,.5x+1,5>=x},{1,0,1,0,1,0,0,0}) {0,x<-1,6*x+6,-1<=x<2,18,2<=x<7,0,7<=x} conv({-x+2,x<1,2,1<=x<5,.5x+1,5>=x},{0,x<-1,6*x+6,-1<=x<2,18,2<=x<7,0,7<=x}) |
|||
04-10-2017, 10:57 PM
Post: #3
|
|||
|
|||
RE: Signals: Convolution
(03-29-2016 01:04 AM)toshk Wrote: Extended convolution code found on this forum. StatisticVar1 |
|||
04-10-2017, 10:59 PM
Post: #4
|
|||
|
|||
RE: Signals: Convolution
I have been trying to add this code to my HP prime calculator, but i keep getting an error at the line where you have SAMP (v1,v2). Any ideas on how to fix this or what may be going wrong?
|
|||
04-11-2017, 07:19 AM
Post: #5
|
|||
|
|||
RE: Signals: Convolution
(04-10-2017 10:59 PM)cperrinekc Wrote: I have been trying to add this code to my HP prime calculator, but i keep getting an error at the line where you have SAMP (v1,v2). Any ideas on how to fix this or what may be going wrong?Line 2: just after #pragma mode( separator(., integer(h32) ) instead of SAMP() try SAMP(v1,v2) |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)