Question


Edge distortion when resampling a signal
I have the follwing cosine signal that is sampled at rate fs = 32 Hz. f = 30; fs = 32; dt = 1/fs; t = -0.5:dt:0.5; c = cos(...

4 years ago | 1 answer | 0

1

answer

Question


how to plot multiple decaying exponentials in one plot.
I would like to plot multiple decaying exponentials with different parameters (time, decay, peak). I was able to create this cod...

5 years ago | 1 answer | 0

1

answer

Question


how to plot decaying exponential
Hello, I'd like to plot a decaying exponential function similar to this plot, while being able to vary the spike time and rat...

5 years ago | 1 answer | 0

1

answer

Question


iterating over an ode solver
Hi there, I am writing a program to solve an ode system multiple times with different parameter values. I added the two param...

5 years ago | 0 answers | 0

0

answers

Question


how to create function handle for conditional sine wave
I want to create function handle that satisfies the following discrete sinusoid n = -10:1:10; x = sin(3*pi*n); x(n<0)...

5 years ago | 1 answer | 0

1

answer

Question


How to modify the input function to a system?
Hi if I have the function x[n] = cos(2*pi*n) in 0=<n<=10 and x[n] = 0 else where n = -20:1:20; xn = cos(2*pi*n)...

5 years ago | 1 answer | 0

1

answer

Question


how to define a sinusoid function over a specific range
Hi all, I wonder how to define sin function over a specific range of n. For example, n=1:20 and x= sin(pi*n) over 0<n<5 an...

5 years ago | 1 answer | 0

1

answer