In labview,how to calculate the parameters of the bilinear model that simulates the generation electroencephalogram?

Dear Sir or madam:
I have collected a lot of electroencephalogram data, which looks like a continuous sine wave plus a noise signal. what i want to do now is to fit the data with the bilinear model as the attached jpg file. the problem is the parameters of the model are changing with the evolution of the signal. would someone like to tell me how to calculate the parameters in the bilinear model?
thank you very much
Attachments:
Bilinear_Model.jpg ‏33 KB

I can point you in the right direction, but probably not answer your question really well. If you have the pro or full distribution of LabVIEW, you can use the curve fitting VIs to match any set of data to a theoretical curve. The curve fitting Express VI may do all you need to do (use the nonlinear option). To get the signal evolution, break your data into pieces and process each. If you need to average a bit, you can use a sliding window of your data for each analysis, moving the window less than the window width for each analysis.
There are a plethora of curve fitting techniques built into LabVIEW - matrix operations, linear and log linear fits, Levenberg-Marquardt methods, downhill simplex, etc. You will probably need to experiment a bit to get a stable
algorithm for your case. Check your literature for ways other people have done this. There may be an easy, stable method out there.
If you are unfamiliar with curve fitting techniques, or you do not have the pro or full versions of LabVIEW, I would recommend "Numercial Recipes in C" by Press et. al., published by Cambridge University Press. The chapter on Modeling of Data will get you going. The rest of the book will provide any background you need.
This was a very general answer. If you need something more specific, let me know. Be aware that this type of problem usually requires some trial and error to get right. The answers should be tightly scrutinized before being believed.
This account is no longer active. Contact ShadesOfGray for current posts and information.

Similar Messages

  • How to calculate value based on two fields & set that on the 3rd (in table)

    Hi OAF Gururs
    I have a requirement in which, in an OAF page, the user can add a row in an advanced table and they enter
    the values for two fields say 'rate' and 'entered amt' and immediately on tab out, the 3rd field should be popluated as rate*entered amt.
    Is there a way, we could capture the tab out event? Or any way we could achieve this?
    This is really urgent.
    If anyone can help.
    Thanks!
    AJ

    OAF gurus hang out over in {forum:id=210}

  • Question for saving the parameters in order to reload them on the next run of the VI.

    Hello,
    I need your help if it is possible.
    I have an application : Figure1.vi
    For running this vi: first I choice the parameters which I'd like display,for example Courant Isa, Isb, etc..
    and I click on the button Valider for display their respectives curves.
    My question is I'd like to save the last parameters of displaying in order to reload them on the next run of the VI.
    What is the method to save them?
    I think that There are several ways of saving the parameters in order to reload them on the next run of the VI. For my particular case, someone say me that he would recommend usingan .ini file, which can be written using the configuration VI's on the file i/o palette.
    I already See "Write Configuration Settings File.vi" and "Read Configuration Settings File.vi" in the Example Finder for an example of how to do this but I don't know what I must make in my application when I have a graph XY and a multi plot.
    When I click on Enrgistrer:I'd like to save my parameters but when I clik on «Charger», I'd like to reload the last parameters whwen I save.
    Can you help me, please ?
    I send you my files,
    Thannks a lot ,
    Attachments:
    Fig.zip ‏78 KB

    Hello,
    In your case it's perhaps better to use an XML file.
    Connect everything you want to save into and array or a cluster, and then use the "Flatten to XML" and then, "Write to XML File".
    Then in he beginning of you program, use "Read from XML file" and "Unflatten from XML", this should recover the data you previously stored in the file. Connect to the type input of the "Unflatten from XML" the type you created when saving (the array or the cluster of all your data).
    Hope this helps,
    Paulo

  • How can i make my scrollpane in a way that at the opening of a frame it doe

    How can i make my scrollpane in a way that at the opening of a frame it does not scroll down automatically?
    code is below
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.net.*;
    import javax.swing.JOptionPane.*;
    import java.io.*;
    import javax.swing.colorchooser.*;
    import javax.swing.filechooser.*;
    import javax.accessibility.*;
    import javax.swing.border.*;
    import java.sql.*;
    public class Signup extends JFrame
         JLabel p1,p2,p3,p4,p5,p6,uid,upass,cpass,fname,sname,hint,sl,ed,age,adr,cit,zip;
         JTextField uname,fnamet,snamet,hintt,adrt,adrt1,city,zipcode;
         JPasswordField upassw,cpassw;     
         JComboBox sex,education,agegr;
         Signup()
         Container c=getContentPane();
         c.setLayout(null);
         c.setBackground(Color.white);
         /** JPanel c = new JPanel();
         c.setBackground(Color.white);
         int v = ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS;
         int h = ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED;
         JScrollPane jsp = new JScrollPane(c, v, h); ***/
    p1=new JLabel("Create Your Icafe!ID",10);
         p2=new JLabel("Personal Information");
         p3=new JLabel("User Address");
         p4=new JLabel("Tell Us About Your Hobbiess (Optional) ");
         p5=new JLabel("Tell us something about what you like. This will help us choose the kind of content to display on           your pages.");
         p6=new JLabel("--------------------------------------------------------------------------------");
    uid=new JLabel("User Id");
         upass=new JLabel("Password");
         cpass=new JLabel("Confirmation Password");
         fname=new JLabel("UserName");
         sname=new JLabel("SurName");
         hint=new JLabel("Hint Question");
    sl=new JLabel("Sex");
         ed=new JLabel("Education");     
         age=new JLabel("Age Group");     
         adr=new JLabel("Address");
    cit=new JLabel("City");
    zip=new JLabel("ZipCode");
         uname=new JTextField(10);
         uname.requestFocus();     
         uname.setToolTipText("UserName");
    upassw=new JPasswordField(10);
         upassw.setToolTipText("Password");
         upassw.setEchoChar('*');
         cpassw=new JPasswordField(10);
         cpassw.setToolTipText("Confirmation Password");
         cpassw.setEchoChar('*');
         fnamet=new JTextField(10);
         fnamet.setToolTipText("FullName");
         snamet=new JTextField(10);
         snamet.setToolTipText("SurName");
         hintt=new JTextField(10);
         hintt.setToolTipText("Hint Question");     
    String[] gender={"[Select one]","Male","Female"};
         sex = new JComboBox(gender);          
    String[] edu={"[Select one]","S.S.C","Inter","Graduate","Post Graduate"};
         education= new JComboBox(edu);     
    String[] ageg={"[Select one]","0 - 15","16 - 35","36 - 70","70 - 100"};
         agegr= new JComboBox(ageg);     
    adrt=new JTextField(15);
         adrt.setToolTipText("Address");
         adrt1=new JTextField(15);
         adrt1.setToolTipText("Address");
         city=new JTextField(15);
         city.setToolTipText("City");
    zipcode=new JTextField(15);
         zipcode.setToolTipText("ZipCode");
         p1.setBounds(200,70,160,30);
         uid.setBounds(350,100,160,30);
         uname.setBounds(400,100,160,30);
         upass.setBounds(335,140,160,30);
         upassw.setBounds(400,140,160,30);
         cpass.setBounds(260,180,160,30);
         cpassw.setBounds(400,180,160,30);
         p2.setBounds(200,220,160,30);
         fname.setBounds(330,260,160,30);
         fnamet.setBounds(400,260,160,30);
         sname.setBounds(335,300,160,30);
         snamet.setBounds(400,300,160,30);
    hint.setBounds(315,340,160,30);     
    hintt.setBounds(400,340,160,30);
         sl.setBounds(370,380,160,30);     
         sex.setBounds(400,380,160,30);
         ed.setBounds(335,420,160,30);     
         education.setBounds(400,420,160,30);
    age.setBounds(330,460,160,30);
    agegr.setBounds(400,460,160,30);
    p3.setBounds(200,500,160,30);
         adr.setBounds(340,540,160,30);
         adrt.setBounds(400,540,160,30);
         adrt1.setBounds(400,580,160,30);
         cit.setBounds(370,620,160,30);
         city.setBounds(400,620,160,30);
    zip.setBounds(590,620,160,30);
    zipcode.setBounds(640,620,160,30);
         Font font = new Font("SansSerif",Font.BOLD, 12);
         setFont(font);
         c.add(p1);
    c.add(uid);
         c.add(uname);     
         c.add(upass);
         c.add(upassw);
    c.add(cpass);
         c.add(cpassw);
    c.add(p2);
    c.add(fname);     
         c.add(fnamet);
    c.add(sname);
    c.add(snamet);
         c.add(hint);
    c.add(hintt);     
    c.add(sl);
    c.add(sex);
    c.add(ed);
         c.add(education);
    c.add(age);
         c.add(agegr);
    c.add(p3);
    c.add(adr);
         c.add(adrt);
         c.add(adrt1);
    c.add(cit);
    c.add(city);
    c.add(zip);
    c.add(zipcode);
         setResizable(false);
         //int a=DO_NOTHING_ON_CLOSE;
         //setDefaultCloseOperation(a);
         show();
         setSize(800,500);
    // Border raisedBorder = new BevelBorder(BevelBorder.RAISED);     
         setContentPane(c);     
    public static void main (String arg[])
         try{
         UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
         }catch(Exception s)
         Signup swu=new Signup();

    just try the following:
    jsp.getVerticalScrollbar().setValue(0);after inserting and adding all your components. this will set the vertical scrollbar up to the very first line.
    regards

  • HT4528 how do I create an event in my calander that repeats the second thursday of every month

    how do i create an event in my calander that repeats the second thursday of every month

    This should get you started down the pathJust replace User data with your cluster and do the data integrity check in the value change event use a simple one button dialog to notify the user which values are out of compliance and disable and grey the OK button untill all conditions are met.
    Jeff
    Attachments:
    Prompt(Date).vi ‏50 KB

  • My system preferences have suddenly disappeared! I have the language and text icon but that is the only icon that is displayed! where have my system preferences gone and how do i get them back??

    I went to my system preferences today and they are all gone except for my language and text icon! I have the language and text icon but that is the only icon that is displayed! where have my system preferences gone and how do i get them back??

    Double click on the picture of the HD on your desktop, then look at the bottom of the window that opens.
    First check the S.M.A.R.T. status on your HD: Applications > Utilities > Disk Utility > in the panel at left, select the first item in the list/your HD mechanism > look atthe bottom of the main window next to S.M.A.R.T. status and see if it says “Verified” or something more ominous like “Failing.”
    If S.M.A.R.T.status is "Verified," run Repair Disk: Boot from install disc (insert disc > restart > immediately hold down c key and keep holding it until you see “Preparing Installation”) > at first screen select the language and click Continue > click on the Utilities Menu in the menu bar > open Disk Utility > select your HD in the panel on the left side > click Repair Disk at bottom of main window. Run this at least twice, and keep running it until it says “appears ok” twice in a row. If that doesn’t happen, you may need a stronger utility such as DiskWarrior or if the directory is damaged beyond repair, you may need to reinstall the OS, or you may have a damaged HD (repair utilities can only repair the directory structure, not the HD itself). When this is finished, quit Disk Utility, quit the installer, and restart. Once booted normally, go to Applications > Utilities > Disk Utility and run Repair Permissions.

  • How to fix file when it says, "Cannot open file " ". Adobe Indesign does not support the file format, a plug-in that supports the file may be missing, or file may be open in another application." It worked one second, I saved and closed the file, then tri

    How to fix file when it says, "Cannot open file " ". Adobe Indesign does not support the file format, a plug-in that supports the file may be missing, or file may be open in another application." It worked one second, I saved and closed the file, then tried to reopen and now it won't work. I am using Adobe InDesign CS5. It is the only version on my comp. I have tried opening on another comp & copying the file – same error comes up. PLEASE HELP

    First check the version of the document with Jongware's script "Identify.jsx" (ExtendScript/JavaScript).
    You can find it here:
    [Ann] Identify Your InDesign File
    If it is CS 5.5 or above, you need someone to open it in the version the script says and export an IDML representation from that. Another way would be to install a 30days version of CS6 or above (CC) and do it yourself.
    In regards of the script showing a result for InDesign files higher than CS6:
    CS7 = CC v9
    CS8 = CC v10 = CC-2014 or CC2014.1
    Uwe

  • I downloaded the full Ultimate Christmas.  I have a corrupt song.  I have Windows XP so I can not use the iTunes Cloud.  It says that is the only way to re-download songs now is via the Cloud.  How do I get a uncorrupted version of my song?

    I downloaded the full Ultimate Christmas.  I have a corrupt song.  I have Windows XP so I can not use the iTunes Cloud.  It says that is the only way to re-download songs now is via the Cloud.  How do I get a uncorrupted version of my song?
    When I thing of the Thousands of dollars I have spent to get a 2000 song library and how Applle keeps screwing Windows users (no back-up of songs) I just think what a fool I was.

    I did think about that and if I have to I will do that, however there are about 50 songs. I have closed and reopened iTunes several times and I am sure that I have the latest version. It fails right away but I can click on the cloud download icon and download the song that it failed on ... therefore it is not that song "or any one song" causing the issue. Any ideas?

  • How can I change the country after a massage saying that check the security code

    How can I change the country after a massage saying that check the security code

    Massage?
    Why not ask the masseuse who gave you the massage?

  • Hi i was wondering how do i get the iphone 5s comforting to know that when the battery gvshym problem or not the issue . i can see the serial number or something like that czech ?

    hi i was wondering how do i get the iphone 5s comforting to know that when the battery gvshym problem or not the issue . i can see the serial number or something like that czech ?

    Try this:
    Go into Power Manager, choose the Logging profile.
    Go into Windows' Power Options, choose a different profile, then switch back to the Logging profile.
    See if this clears any contradiction between the two.
    W520: i7-2720QM, Q2000M at 1080/688/1376, 21GB RAM, 500GB + 750GB HDD, FHD screen
    X61T: L7500, 3GB RAM, 500GB HDD, XGA screen, Ultrabase
    Y3P: 5Y70, 8GB RAM, 256GB SSD, QHD+ screen

  • Getting error "Cannot open the file "*****.INDD". Adobe InDesign may not support the file format, a plug-in that supports the file format may be missing, or the file may be open in another application."

    How to fix this problem
    "Cannot open the file "*****.INDD". Adobe InDesign may not support the file format, a plug-in that supports the file format may be missing, or the file may be open in another application."

    When I have seen this message it is either when I try to open a document with an older version of Indesign E.g. an indesign 2014 document with Indesign CC.
    The other time I have seen it is to open an Indesign CC document with Indesign 2014 which does not have Mindsuite - a plugin I use. Mindsuite, as yet, has not upgrade the plugin for Indesign 2014 therefore it recognises that a the document was created withe a plugin that the 2014 version does not have installed.
    I believe your problem will be something like that.

  • I am running InDesign CS5.5 and trying to open an In Design File but getting an error message. " Cannot open the file "PDavidLCover.indd". Adobe InDesign may not support the file format, a plug-in that supports the file format may be missing, or the file

    I am running InDesign CS5.5 and trying to open an In Design File but getting an error message. " Cannot open the file "PDavidLCover.indd". Adobe InDesign may not support the file format, a plug-in that supports the file format may be missing, or the file me be open in another application."Please help I really need to get this file open.

    Since you've shown us the folder contents it's a good bet it isn't in use (no lock file). And it doesn't look like the file is mis-named as there doesn't seem to be anything else there that would be the .indd file (but just in case, open it in TextEdit and paste the first few lines here so we can see what the file header says), so the most likely case is the file is damaged. Is that on a removable device of some sort?
    You can try the tool at Repair corrupt InDesign Adobe files on Mac OS X  or send me a link to the file by private message and I'll try the recovery tool I have for Windows.

  • What is the registry key in Adobe Acrobat v9 which turns the dialog off: any form fields that have the same name in the merged documents are now...

    what is the registry key in Adobe Acrobat v9 which turns the dialog off: any form fields that have the same name in the merged documents are now...

    There is no key because that is an important dialog.  Why would you want it to go away?

  • I just purchased a 3TB Time Capsule.  I live in Italy and have 220V power.  The Time Capsule is rated for that, but the cord says 125V.  Can I use this cord with an adapter, or do I need to buy a new cord at an Italian store?

    I just purchased a 3TB Time Capsule.  I live in Italy and have 220V power.  The Time Capsule is rated for that, but the cord says 125V.  Can I use this cord with an adapter, or do I need to buy a new cord at an Italian store?

    Due to the kind of plug used the US power cord is rated at the 125v value.. and legally we cannot advise you to use on higher voltages.. although I have never had issues in Australia.. 240v.
    But adapters from your Euro power plug to US are generally ugly .. unsightly things.. and often sit high above the socket and are none too stable.. I agree with Bob.. just go out and buy a standard figure 8 power cord.. check with Apple in Italy for a white one.. if you are going to have it on show.. black are far more common. Or even check ebay for a standard power Apple power cord as a number of items they sell use the figure8 socket. 

  • My hard drive failed. My applications were on the drive including Excel, Word, and Powerpoint. Apple told me I could pull everything from the failed drive. I tried that but the drive is bad so I can't get to anything. Do you think Apple will reinstall?

    My hard drive failed. My applications were on the drive including Excel, Word, and Powerpoint. Apple told me I could pull everything from the failed drive. I tried that but the drive is bad so I can't get to anything. The Office package was installed/included when I purchased the Mac. Does anyone think Apple will provide me with the Office package? Thank you!

    Thank you everyone. I apologize to confusing all but I am up to date and running OS X 10.8.2.  It's possible I purchased the key for Office but I don't think so although it was 3-4 years ago. I guess I will stop in the Apple Store and just ask. I may just buy the new bundle anyway to get the most updated.
    I have read there are issues with the MS Office bundle running on our latest OS, is that true?
    Thank you all!!! You've been great!

Maybe you are looking for

  • Manual sort in Smart Album?

    I want to drag and drop pictures to reorder them in a Smart Album. Seems I've read you can do this but the Manual option is not available (gray) in the drop down. Any advise?

  • BW Customer Exit EXIT_SAPLRRS0_001

    I am trying to limit the values in the selection screen for a BW report using the BW customer exit EXIT_SAPLRRS0_001.  I have created a custom table to store values to limit the selection.  Unfortunately when coding for i_step = 2 I can only populate

  • Failed to upgrade Oracle Cluster Registry configuration

    I'm making a new installation of Oracle RAC environment, the clusterware version is 10 and therefore the RDBMS, I'm using oracle linux 5 update 7, the installation is being performed on only one machine. The problem occurs at the end of the installat

  • BPM Performance tuning

    Hi, I have a synchronous BPM that has 1.receive (open s/a bridge) 2.transform 3.sync send 4.transform 5.sync send 6.transform 7.send (close s/a bridge) working (except for some merge issues in step 4). The BPM takes too long (up to a minute) to execu

  • Dictionary table for class description in tcode il03

    Hi, Please let me know the dictionary table where  class description is getting stored while using the transaction il03 and while i tried i came to know that it is not in  the table swor.. Regards, Nikhil...