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

presque 5 ans il y a | 1 réponse | 0

1

réponse

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

plus de 5 ans il y a | 1 réponse | 0

1

réponse

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

plus de 5 ans il y a | 1 réponse | 0

1

réponse

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

plus de 5 ans il y a | 1 réponse | 0

0

réponse

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

environ 6 ans il y a | 1 réponse | 0

1

réponse

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

environ 6 ans il y a | 1 réponse | 0

1

réponse

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

environ 6 ans il y a | 1 réponse | 0

1

réponse