Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hello
I have a query and will appreciate your help. I want to add a delay(+/- T) to a narrow band signal.
I have considered
n=0:1/255/1000:1/1000;
s=sin(2*pi*1e3*n);
's' is a narrow band signal with frequency 1KHz. Am I correct until here? If I am not, can you please specify an example of a...
Hello
I am working on multiple target tracking. I need a sample Matlab code for the Probability Hypothesis Density(PHD) filter. I have searched in a few sites, but am successful till now. If you have or are aware of any resources that assist in Matlab coding, please do help me out.
Cheers
Okay, these are the two methods I tried yesterday.
load handel.mat;
[y,Fs]=wavread('handel.wav'); % 'y' is an audio signal vector with 73113 samples and Fs = 8192.
Now I want to add a delay of 1.3ms
1. delay = 1.3e-3*Fs;
whole_delay = floor(delay);
frac_delay = delay - whole_delay...
Hi again
This is another alternative I had worked out. Please let me know if it is right! Sounded like what your were mentioning in the beginning of the discussion.
We have a signal
[y,Fs]=wavread('handel.wav');
The signal has 73113 samples and Fs = 8192
We want to add a delay(Td) of 1.3ms...
Thank you so very much for the guidance. I will start writing the code. I now assume that I will have to pad fix(Fs*Td) zeros in the beginning to get the delayed signal.
But when would be the up sampling procedure come into picture? I was assuming to do it that way(proposed by my professor)...
Please bear one more question, before I can start my code. Please....and thanks.
I am now using an audio file as my signal source.
load handel.mat;
hfile = 'handel.wav';
[a,Fs] = wavread(hfile);
So now, 'a' is the broadband signal having 73113 samples and Fs = 8192.
Now I want to add 1.3 ms...
I am almost near, but allow me to ask more.
We have a = [0 1 2 3 4 5 6 7]. the size 0f the vector = 8. How do we know the Fs of this signal?
Now we up sample the signal. Why did you choose up sample f = 10, Is it because f = 1/100 ms = 10? Or at choice is it a large value?
Let me put it in...
Well, what would be the solution in this case?
1. If I find Ns=D*Fs, then can I use Ns to delay the signal 's=randn(1,100)' by Ns samples? But I do not know how to do that.
2. Or else, can you suggest me any example of time domain broad band signal, so that i can include delay in there...
Okay, if I use s=randn(1,100)
Then at a later stage, I need to add a delay in time. It is given by x(t) = s(t-D). D is the delay in terms of distance.
For example, D=(sqrt(10)-sqrt(9))/340, which is a very low value.
How do I add that delay to
s= randn(1,100)
Please advice
Thanks
Hi
I need a small clarification
Can we treat
s = sin(2*pi*100*randn(1,101).*[0:1/100:1]) as a broad band signal? My idea is that, since its fft "plot(abs(fft(s)))" has a value at every frequency, it might be considered as broadband. But I am not sure. Please advice.
It is of the form s(t) =...
Hi
I need a small help regarding generating broadband signal in Matlab.
I need to generate two broadband signals s1(t) and s2(t) (in terms of time 't'). At a later stage, I need to find s1(t-D), where 'D' is the delay and can be a real number(say 3.1)
I understand I can use s1 =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.