Continue to Site

Welcome to EDAboard.com

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.

Recent content by S-LifeLover

  1. S

    Solve simple sinusoidal equation

    Good day! Please help me to solve a system of equations: amplitude sin(phase) = 0 / pi frequency \ amplitude sin| phase + ------------ | = -1/2 \ 4 / / pi frequency \ amplitude sin| phase +...
  2. S

    Detection of sinusoids in the discrete sequence

    I do not understand how anyone can build a graph, where one of the axes - a complex number. Can you give an example of how to build a graph (y=x), where the axis x - complex. Here is an example where the axis x - not a complex number x = [1, 2, 3, 4, 5, 6, 7, 8, 9] y = x; plot(x, y); But as I...
  3. S

    Detection of sinusoids in the discrete sequence

    Why? The program has found incorrect sinusoid. And if I subtract it from the original signal and run the program again, I get a second incorrect sinusoid. Could you tell me about these tweaks? I think that we need the maximum peak. And it usually a single. And I'm not yet poor understanding...
  4. S

    Detection of sinusoids in the discrete sequence

    slightly modified athe code function [ ] = bruteforce( y ) B1 = y; max_MultySum = 0; max_Pos = 0; max_Phase = 0; max_Len = 0; max_Per = 0; wb = waitbar(0, 'Working...'); valuesLength = length(y); % curPosB2 - current position of B2 %...
  5. S

    Detection of sinusoids in the discrete sequence

    I apologize for the doubts in your algorithm. I fixed a couple of bugs in the program. Now the result is correct. I continue to work on the program. function [ ] = Pereborka( y ) B1 = y; max_MultySum = 0; max_Pos = 0; max_Phase = 0; max_Len = 0; max_Per = 0...
  6. S

    Detection of sinusoids in the discrete sequence

    If period = 100 then sum(B1.*B2) = 50 if period = 20 then sum(B1.*B2) = 50 In fact, both versions give the same result. But on the chart there is only one. Therefore, such a result is obtained. I'm working on keeping all sinusoids in the matrix. And to build the surfaces.
  7. S

    Detection of sinusoids in the discrete sequence

    Result: As we can see, the result is not what we expected. The algorithm does not find a sine wave with a period of = 20. The algorithm found a sinusoid with period = 100. I think we should use instead of the correlation sum. I'm working on it. Blue line - source sinusoid. Red line - result...
  8. S

    Detection of sinusoids in the discrete sequence

    Good day! I tried to write the code of your algorithm. Could you take a look at this code? clear all; close all; clc; length = 100; period = 20; y = CreateMoon(length, 1, 100, period); Pereborka(y); function [ y ] = sinus( len, phase, amp, per) radiansPerDot = ( pi * 2 ) / per; phase...
  9. S

    Detection of sinusoids in the discrete sequence

    B1*B2. ^ You mean the elementwise multiplication or finding correlation of two signals B1 and B2? Thanks.
  10. S

    Detection of sinusoids in the discrete sequence

    Thank you very much for the detailed explanation A few questions: 1) Can you explain what "chirps" 2) I'm sorry, I did not understand the phrase "... and exclude the rest of B1.". What is the "rest of B1"? I've experimented with a procedure like this. But, alas, my i3 not enough process more or...
  11. S

    Detection of sinusoids in the discrete sequence

    Yes. Thank you very much for the help! Could you specify the source where I could read about this technique?
  12. S

    Detection of sinusoids in the discrete sequence

    You are right. But the solution to this problem will bring me one step more to the difficult and real problem. For example, it will be possible to study the signals that do not appear suddenly, but gradually. That is, they are slowly increasing in amplitude (born) and slowly decrease in...
  13. S

    Detection of sinusoids in the discrete sequence

    Excuse me for long silence. My dog ate my English-Russian dictionary. I had a long time to translate without a dictionary. Just kidding. No, I do not use filters. In this example, the signal clean. That is, there is no interference. Therefore I think that the filters are not needed. I may be...
  14. S

    Detection of sinusoids in the discrete sequence

    Thanks for the answers! My example is really very simple. I am in this example would draw your attention to the following: If the sine wave is not defined on the whole window and when it intersects with other unknown sinusoid, the Fourier is not exactly determine the frequency. Of course, we can...
  15. S

    Detection of sinusoids in the discrete sequence

    Thanks for the reply! This is so. But, unfortunately, I can not affect the original signal and can not increase the frequency of sampling.

Part and Inventory Search

Back
Top