complex number filter

Hello

Is there a way to (bandpass) filter complex signals in Labview? I Googled it but I don't seem to find a way to filter complex signals (a + i * b).

Edit: The block of normal bandpass filter will not work because it does not accept the complex entries

Divide into re / im, filter individually, recombine.

Tags: NI Software

Similar Questions

  • Calculate the imaginary part of the complex number

    I recently got a s 35 HP. I would like to know how to enter a complex number with an imaginary part calculated, like 2 + sqrt (3) I. I tried several strategies by using parentheses, even put the sqrt (3) in a stored variable and recalling it, but everything I tried of gives me an answer "Syntax error". It is hard to believe that something so simple can be done easily. I hope someone out there has an easy solution!

    Hi, Make,

    The link you cite is the same document that I have referred to in my rating of 17/08/2015 at 4:15, mention the kind of number that I want to, but don't say don't not how to enter in the calculator. However, moving to RPN, one CAN easily enter these numbers. Two examples:

    3 + 2i [sqrt] 2 [sqrt] ix3 + which reads: 3i1.4142 (in format xiy)

    5. [sqrt] 3i 3 [sqrt] [+/-] ix5 + which reads: 5i - 1.7321 (once again, in the format xiy)

    or, put the real part first, 5 [ENTER] 3 [Sqrt] [+/-] ix +.

    So, as I suspected, I need to use RPN for this sort of thing.

    Thank you for your support.

    John

  • HP - 50g written problem complex number. How to write (3 + i * 3 * sqr (3)) to RPN? (3, i3sqr (3))

    Hello everyone, I don't know how to write (i 3, * (3 * sqr (3))) RPN mode.

    Can someone help me please? I already searched the gug pdf guide help, without result.

    Thank you.

    Hello

    A few notes in the representation of a complex number as a vector:

    (1) the i is omitted, the second number is supposed to be the imaginary part.

    (2) the 50 g accepts only decimal numbers for vector representation

    Thus, at the entrance there. I guess you have the calculator in complex mode and exact mode (about not checked in "MODE"-> "SAE"), i.e. "C =" displayed at the top of the screen.

    RPN mode:

    Press 3 then ENTRY (3 is at level 1)

    Press ENTER again (3 is now duplicated and on both levels 1 and 2 - one advantage of RPN)

    Press ENTER again (3 is now duplicated and on levels 1, 2 and 3)

    Press the button of sqrt (x). Level 1 shows a 3 with a sign of the square root.

    Press on multiply key, level 1 shows 3· SQRT (3)

    Press LeftShift (white), then I (above the TOOL key), level 1 indicates an i

    Press on multiply key, level 1 shows 3· SQRT (3)· I have

    Press + key, level 1 shows 3 + 3· SQRT (3)· I have (or 3· SQRT (3)· i + 3 according to the parameter Flag - 27)

    If you want to keep the symbolic result (with the symbol of the 'SQUARE root'), leave it in this form, if you want to convert to vector format press (red) RightShift, then -> NUM (above the ENTER key).

    The result will be a decimal vector shape (3, 5.19615242271).

    Kind regards

    BartdB

  • Graph of the complex number in plan of Argan

    I need help to make a graph with Phasers current in three-phase network voltage and... I have a graph of the complex numbers, but I want an arrow in the end, to represent a vector.

     

    rsduarte

    I solved my problem

    I represent more than two points and connect them...

    Thank you.

  • HP50g: HP50g - hot to check if the object of the stack is a number?

    How to check if an object on the stack is a number or another type of data? There seems to be no any function to check on 50g.

    50 g advanced users to see, page 1-13:

    "The order TYPE ([left SHIFT] PRG-> TEST-> NXT-> TYPE) accepts any object as argument and returns the number that identifies the type of this object." For example, 'HELLO' TYPE returns 2, the value of a string object. See table of object types in Chapter 3, in the command TYPE, to find objects of calculator and corresponding type numbers.

    Generally want to DUP the object to the level of the stack 1 first of all, because likely you want to do something with it, after checking his type.  The following RPL program checks the type of the object in level 1 of the pile and adds a string to the stack indicating its type.  Only some of the possible types are checked and a generic "something else" translates to others:

    «
    TYPE OF DUP
    CASE
    DUP 0 == THEN DROP 'real number' END
    DUP 1 == THEN DROP "complex number" END
    DUP 2 == THEN DROP 'chain' END
    DUP 3 == THEN DROP "real array" END
    DUP 5 is THEN DROP 'list' END
    DROP "something else"
    END
    »

  • HP 50 g - complex numbers

    My first question is if there is a way to work with complex numbers to the writer of the equation.

    If this is not the case, how can I write the complex number 100sqrt (2), 30 ° in RPN mode?

    Hello

    I downloaded a video here:

    http://s837.Photobucket.com/user/bdeboer_photbkt/media/calc_pics/HP/HP-50g/movie_0002_zpscd0dc6e5.mp4.html

    (note the mode change complex at 00:12 is LeftShift press and hold and press i (the TOOL button).

    It will be useful.

  • First HP CASE - implicit multiplication of complex numbers

    When you make the implicit multiplication of complex numbers in CASE the first mode (6975) does the following:

    Enter: (2 + i)(2-i)
    Rewritten (wrongly) as: 2 + i (2-i)
    Returns: 2 + I

    This happens in two (a, b) and (a + b * i) formats:

    (2.1) (2, - 1) becomes 2,1(2,-1) and returns the value 1

    Explicit multiplication of complex numbers seems to work correctly:

    Enter: (2 + i) *(2-i)
    Returns: 5

    Sometimes, the rewriting of implicit multiplication treats the imaginary part of the first complex number as a function call with the second number complex as parameters to the function.

    Apparently this tangent actually proved useful.  He looked more closely into the use of parentheses.

    Review: (1 + i)(1-i)

    What seems to take place the second term, (1 - i), apparently ignored is that CASE trying to make a substitution as in the following example:

    (1 + x) (a + b) becomes (1 + (a + b)) due to a substitution of (a + b), the symbol 'x '.

    However, if this substitution occurs when a value is assigned to 'x', the substitution fails and the initial value of 'x' remains.  This creates the illusion that (a + b) is ignored.

    x: = 2

    (1 + x) (a + b) becomes 1 + x and the result is 3 because 'x' remained the value 2.

    I think that 'I' is treated as if 'i' was assigned to the value sqrt(-1).  The substitution is not in the same way that when a value is assigned to 'x '.

    Remember to purge (x).

  • Second hard drive and serial number

    Hello

    I have bougth HP Pavilion dv7, 7230 with a hard disk of 1 TB inside before 2 months. And I have 'only' 2 problems. First of all, official site Web does not know my laptop, when I "auto dection", and also when I write the serial number manually. Why? Second, in this notebook with my setup is only 1 hard drive inside. Second Bay is free. Of course, I have an older hard drive of my laptop and I want to get for my new laptop. But, something wrong. I bought a special cable to connect the second drive, but when I connect it to the motherboard I can't turn on my computer. But I think that evil is in cable, no hard drive, because when I connect the cable alone diskless hard at the end of this cable, do the same. Y at - it special "pin" or something similar? Or I have to accommodate this disc in a special program? Or what?  Someone at - he had similar problem?

    I agree with you on this special cable. Do not use it.  Buy another provider.  , You must use a HP part or suppliers that is guaranteed to fi HP part number filter. There is no special PIN or a clip. It takes just the right piece. See below for more information

    To make sure that you have the correct serial number, look in both the HP Support Assistant and the bottom of the window or in the BIOS in system information.

    I've ignored the serial number of my current HP product loan of privacy.

    What is yours?

    All models listed above use information HP p/n at the following address for the component you need for hard disks.

    Source reference: HP Envy Notebook PC Maintenance & Service Guide Michael

  • Arrow complex

    Hi guys,.

    I had the following problem... and it seems to be rare as (at least I have found no suspicion but that works):

    I want the user to enter a complex number using graphical means (2D compass draw or XY-Graph). In the version of the range the user is supposed to click on a Point in the diagram. As the program acknowledges this, it fills a vector/arrow pointing on this point and starting to analyze the data entered.

    But I had trouble reading the data that I put in the chart. So far I tried to convert the data of Compass 2D in an "every-day-Datatype' to progress further, but failed epicly it already.

    In detail, I went to "compass D-Online Index Array ==> get variant attribute ==> converted to a string as well as the Variation of these various.»

    My hunch is that I use 'Get variant Attribute' simply false

    Someone has any idea how to solve this mess?
    Has a value of compass which attributes?

    Greetings

    Sword of the Eagle

    PS: Attached, you can find a picture of my last try to get the name of the attribute. Needless to say that it does not work so far. The structure resembles the other tries.

    Make a control chart is pretty useless here, then let him as an indicator.

    I never use the fancy graphics, because they appear to be relatively limited.

    Instead, use a plain XY graph and mouse events which gives you the coordinates in pixels. You can easily convert between pixels and appeal of xy coordinates using nodes.

    I also recommend that you attach a real VI instead of an image. What is your version of LabVIEW?

  • complex type

    Hello

    I am trying to sort a complex column in the order of their individual amounts. They gave me of Altenbach (above) which was working fine, however, I said wrongly that all my data would be real that it has not been checked in code. So what I'm trying to do, is to change it to complex data. I tried to replace table 1 d complex sort sorting but I get a data type mismatch. I am fairly new to this and have been stuck on this during a good time now.

    Any help is greatly appreciated.

    Thank you

    Nick Muir

    How to sort complex data?  Who is the biggest 1 0j or 0 + 1 d?  What you need to do is to convert your complex number to a real number and which feed your cluster you sort.  That's just taking the real part, or if that is converted into a length of vector.

  • OBIEE 11g in filter error

    Hello

    I have a problem in OBIEE 11.1.1.6

    I have a report where project is a filter that is, in which the condition.

    Now, I have a project not as ' ERP - HR STD and 2012. " Now this is not error getting data on. In OBIEE, whenever she see any & sign in the project number filter, it returns error. Now when I run the sql (obtaining of the journal nqsquery) query in PL/SQL developer or Toad, I get the correct result, data display.

    If some & or % sign appears in the filter data, OBI could not able to execute the query

    Help, please.

    Thank you

    Titas

    Hello

    You can use the function replace as -.
    Replace (ANY_CHAR, Exp1, EXP2)
    For ex-replace(column,'/','a')
    Result - Hello / hello
    at helloahello

    Hope this helped / replied

    Concerning
    Young

  • Machine using LabView trigger signal

    The company I work for has just acquired a new machine which measure the size of the particles and other variables. The machine is supplied with its own program that records and analyzes the data. However, we want to get around that and read the data directly in LabView and so be able to filter, organize, and sort as desired.

    Attached are pictures of the configuration of the machine. The red circle indicates the cable that connects the PC to the machine.

    While the machine will operate its own, there will be no signals transmitted to the PC without a trigger command. It's my first question: how to provide the appropriate command of LabView machine so he can generate the right signals.

    The manufacturer of the machine:

    The colloidal Dynamics AcoustoSizer (AZRII) consists of a central processing Signal (EPSC) and unit of different sensors, shown in figure 2.1.  They are controlled by the application owner software that is running on a classical computer in MS WindowsTM based (PC).

    Under the direction of the application, the EPSC generates pulses of sinusoidal voltage on a sequence of prescribed frequencies between 1 to 20 MHz. These pulses are applied to the sound Amplitude Electrokinetic and mitigation sensor (ESA), where they generate ultrasonic signals in the colloid.

    These signals of ultrasounic, which contain information about the size of the particles and the load, is converted to voltage pulses by mitigation ESA probe sensors, and impulses are then directed to the EPSC for the signal processing. The processed signals are transmitted to the computer, as well as data from the pH, temperature and conductivity sensors. At the end of the measurement phase, the data are analyzed in the PC to determine the particle size and zeta potential.

    Information on the measurement process:

    A typical measurement sequence is as follows:

    The PC issues instructions for the EPSC applied pulses of high voltage excitation frequencies prescribed the probe to ESA/mitigation.  This is according to two modes, the ESA, and mitigation.

    The extent of the ESA, this voltage pulse is applied between two flat and parallel electrodes that are in contact with the suspension. The suspension runs vertically upward between the electrodes with a brace polyphenylenesulphide (PPS), the ESA probe. One of the electrodes is adsorbed on an acoustic delay line, opposite which is mounted a ultrasonic transducer thin.  The applied voltage pulse causes the colloidal particles (which are almost always electrically) to shake back and forth. This query generates sound waves, a phenomenon called the Amplitude sound Electrokinetic, or the effect of the ESA. The sound waves of the ESA spending since the suspension along the glass delay line. When they reach the end of the delay line, the soundwaves created tension through the transducer. The voltage pulse then crosses the EPSC signal processing circuit. The Fourier transform of the pulse is determined by the EPSC and then transmitted to the computer. This Fourier transform is a complex number with the two amagnitude and phase (or argument).

    At present, we are measuring to thirteen different frequencies, at the end of the sequence of ESA measure we have so thirteen amplitudes of ESA and thirteen phases stored in the PC. This set of quantities is called the spectrum of ESA.

    The extent of the sound attenuation of the output pulse EPSC is applied to a piezoelectric transducer. This generates a pulse of sound wave which passes through suspension.  This impulse and various reflections that come further in time are all measured, stored and analysed using the Fourier Transforms as in ESA measures.

    At the moment, that we measure to 13 different frequencies, at the end of the sequence of mitigation so we have amplitudes of mitigation thirteen and thirteen phases stored in the PC. This set of quantities is called the spectrum of mitigation.

    Any help would be greatly appreciated!

    Kalyie wrote:

    The company I work for has just acquired a new machine which measure the size of the particles and other variables. The machine is supplied with its own program that records and analyzes the data. However, we want to get around that and read the data directly in LabView and so be able to filter, organize, and sort as desired.

    Attached are pictures of the configuration of the machine. The red circle indicates the cable that connects the PC to the machine.

    While the machine will operate its own, there will be no signals transmitted to the PC without a trigger command. It's my first question: how to provide the appropriate command of LabView machine so he can generate the right signals.

    Well, which depends on the Protocol of the machine.  Do you have the link susanianak provided that help any?  You will need to check the documentation mfg on the appropriate command to send to start the cycle.  This can be done easily with LV, but it needs to work with the Protocol set by the seller.  Your photo shows what appears to be a serial cable. Use the VISA for this.

    I didn't see a second question.  Are you asking how to acquire information from the machine?  If you can find a driver for this hardware, as suggested SusanianaK, which would be preferable. You can build your own.  Since it's RS - 232, it sends the information in a serial data stream.  Refer to the doc for the equipment to see what are the parameters of the series.  If all goes well, your controller can work as a host and got the info as it comes.  But there may be a set of commands supported to extract it.

  • HP 50 g EVAL error: internal error CASES

    I'm trying to use the EQW Solver to solve a formula that uses the sigma notation.

    n
    Σ (a + i (b - a) / n)(b-a)/n.
    I have = 1

    When you try to solve for the proof I get the indicated error.
    Does anyone know why such an error occurs? Is there a problem with the symbolic notation or a bug in my HP 50?

    When you enter the initial problem of the summons, you must enter an algebraic equation.

    If you use the equation writer and enter the summation symbol as shown:

    the 50G will not enable the lowercase letter "I" entered as the summation variable (where the arrow is at in the screenshot above).

    Also, FYI, some branches of engineering also recognize the lowercase letter 'j' as the symbol of a complex variable instead of the letter 'i '.  It has to do with the bad hand writing and the letter 'i', similar to the lowercase letter "L", etc... so you can avoid using 'i' tiny or low case 'j' in the equations at least that specifically refers to a complex number ('i' tiny for the equations of 50G only).   However, in your present mathematics classes it may not be of concern.

    If I understand the mathematical order of precedence indicated in your displayed equation, with some necessary changes to the variable of summation your equation should look like the following:

    Enter this equation in the battery, then press EVAL.

    If you want a different form of the same solution, run FDISTRIB

    set the CORRECT mode and do of course-2 flags and flag - 3 is deleted (constant-> symb; function-> symb) for this equation - see the reference to advanced for the function ∑ users.

  • HP 50 g: Bug in LASTARG after MOD and other orders of CASES

    I mind not to check if this has been reported before, because it is a bug, and duplicate bug reports should be published until HP fixed them in a new ROM for HP 50g.

    I use the command MOD (in RPN mode in any case), example: 10 ENTER 7 MOD gives the correct answer 3.

    LASTARG appeal immediately after gives an error real mode (!). If it is in the complex mode, or if it end being "politely" beeps to, LASTARG (or ARG on the keyboard) returns 0 instead of 10 and 7 single argument. It's totally false; requiring complex mode (instead of real - the initial calculation has nothing to do with complex numbers!) is ridiculous, and give the wrong answer is just a slap on the face.

    HP 50 g HP50-C revision 2.15 version.

    Hello

    I also have HP 50 g HP50-C revision 2.15 version.

    LASTARG (white-shift YEARS (on the = key)) works correctly for me.

    Moving to the ARG red (on the divide key) is the function Argument: Returns the angle (real) polar theta of a complex number (x, y), so eager to work on mode calculator complex.

    For a manual with descriptions of orders 50g, download it

    "HP 48gII and 50 graphic calculator g advanced manual reference of the user (V2).

    From:

    Manuals HP - 50 g

    Kind regards

    BartdB

  • Understand the global optimization VI

    Hello

    I have a task that requires the use of potimization overall, however, I'm not really familiar with it. I tried to look at the example of VI, however I have a hard time understaniding where my data would go.

    My current task includes measuring the mechanical impedance (such as a spectrum of complex numbers) and adjusting a model of 4 parameters with the GOP on this issue, find the best values. (This is how it has been described by previous to work best, so I am trying to implement this way). The result of this process would be to minimize the difference between the measured impedance and the model mounted on it.

    Our research group is using a program with an implementation of the work for this, but we want to implement this model Assembly in Labview.

    The impedance data is a complex number, so it has real and imaginary, parts with some parameters of the model being determinde by real and imaginary data part.

    I tried to use a 'simple' Lev - Mar hold on my data as a first try by changing the screw of this topic (using cast to enter complex data of the vi of Lev - Mar), but there only values similar to my desired adjustment (made with the existing program) if I put the very close estimate of the values that I receive in my program. That's why I wanted to move to global optimization, labview for finding these estimate values within certain limits.

    And that's where I'm stuck:

    I have a complex impedance (so real and imaginary parts for frequency points) and an equation that is supposed to give the output. If I take the example of 'Two circles Optimization' for example vi, where should I post my spectrum of impedance for the VI to analyze? As the Lev - Mar had clear entered for my data (like X and Y), I knew where over my data, but with global optimization I don't know, where the son.

    I feel that I should use a VI for the objective function to manage the complex of entry as well.

    The objective function for optimization should be the average of "[Z (omega) - Zfit (omega)] /Z (omega)" for each frequency points, with Z being measured and Zfit being the impedance with the estimation of parameters. Zfit = A + j * Omega * B + (C - j * D) / (Omega ^ [(2/pi) * arctan(C/D)] (j is the imaginary unit))

    So where should I put my impdance data in the example vi to be used by the function of parameter?

    Thank you very much, I hope that my explanation is more or less clear

    A few suggestions. In your cost functions, use a Subvi to encapsulate the actual distance function.  For example, a VI that has A, B, C, D, Z] and [w] as inputs and output distance.  Then the same Subvi common can call the cost for each type of optimization function. If possible, structure things so that your graphics code uses the same screws as your optimization code.

    In your graphics, the 'Original' and 'MyProgram' curves seem to be closer than the rest, but when I entered "MyProgram" settings in one of the cost functions, the output of function is ~ 0.16, which is bigger than all the results of the optimization.  It seems that there is a gap between the graph and the cost function, if I interpret it correctly.  This may mean that the cost function is not quite what you wanted.

    I suspect optimization features converge not well, at least for the algoritm unconstrained.  Maybe it's why you get the error armijo.  The more robust algorithm without constraint is the Nelder-Mead simplex algorithm, so try one until you are sure things are working well, then move on better/more rapid convergence.

    -Jim

Maybe you are looking for