PhD candidate

Question

Unable to use indexed input in a user-defined function in Simulink

I have developed a function by using SImulink user-defined function. The function uses a for loop to perform math operations on ...

mer än 2 år ago | 0 answers | 0

Question

How to get smoothen 50 Hz frequency calculated from angle of the complex signal?

load('c.mat') % see attached file fs=1200; ts=1/fs; t=0:ts:1-ts; N=length(t); f(1)=50; for k=2:N a1(k)=angle(c(k)...

ungefär 3 år ago | 0 answers | 0

Question

Computing frequency from phase angle. How to remove the frequency spikes?

I want to calculate frequency of a complex signal from its angle deviation. The problem with this is that I am getting large val...

ungefär 3 år ago | 1 answer | 0

Answered

My 'for' loop is giving me "Array indices must be positive integers or logical values. " error.

Have you tried to end your for loop with end command? I cannot see it in your code. Probably check this. A = [1,3,5,2,7,8]...

My 'for' loop is giving me "Array indices must be positive integers or logical values. " error.

Have you tried to end your for loop with end command? I cannot see it in your code. Probably check this. A = [1,3,5,2,7,8]...

ungefär 3 år ago | 0

Question

How to remove high frequency components and remove noise in frequency deviation using basic filters.

I am trying to track fundamental frequency variations in the signal z given below. The fundamental frequency can be tracked by s...

ungefär 3 år ago | 0 answers | 0

Question

Adaptive frequency extraction from a signal which has a frequency varying component

I have a signal y which has 3-4 different frequency components. The frequency of one components is varying with time as given in...

mer än 3 år ago | 0 answers | 0

Question

Calculating frequency of a signal of mixed frequencies - No FFT.

I have a test signal of the frequencies y=y1+y2+y3; with frequencies 50 Hz, 93 Hz and a variable frequency 5~18 Hz. t=0:1/...

mer än 3 år ago | 1 answer | 0

Question

How can I separate or extract varying frequency components from a signal?

For example, I have a f = f1 + f2 + f3 where, f1 = sine wave signal of 50 Hz, f2 = some unknown harmonics components, f3...

mer än 3 år ago | 1 answer | 0