Please help on this Lev-Mar problem

Hi,
I have two acquisition data sources that need
to be fitted. Then the fitted parameters are
passed along with data for further processing.
As the data is heardware generated, I made a
similar 'signal generator' to present very closely
the problem.
===Please see the attached vi file===
As you can see, these two Lev-Mar's function
/ derivatives are obviously different. We can edit
the fuction / derivative node. But the problem
is that when one is edited, the other changes too.
Anyways, we can NOT have two different functions.
My question is: How to have two different function
/ Deveritives here?
By the way, how to replace the MatLab box into
function node in my attached example?
I can 'wire' the out
put to next if it's a
function node. It says the type of variables are
different (output is a real instead of array).
Attachments:
Lev-Mar-Question2.vi ‏99 KB

You have a few options for multiple function/derivatives.
1. If you can express the model functions using the formula string syntax, then you might consider using the "Levenberg Marquardt.vi". Unfortunately the Levenberg-Marquardt.vi does not allow the specification of the derivative of the model function and always uses numerical derivatives. It is also somewhat slower than the "Nonlinear Lev-Mar Fit.vi".
2. You could also save a copy of the "Nonlinear Lev-Mar Fit.vi" using a different name, and also the "Lev-Mar ABX.vi" and "Target Fnc & Deriv Nonlin.vi" with different names. Then you would have a different set of VIs to implement the curve fitting on two different models. This is ugly, but would work.
3. You could modify the "Nonlinear Lev-Mar
Fit.vi", "Lev-Mar ABX.vi", and "Target Fnc & Deriv Nonlin.vi" to accept/pass VI references. The "Target Fnc & Deriv Nonlin.vi" would then perform a call by reference to a VI that you wrote implementing the current model function.
To replace the Matlab script node place the formula node inside a for-loop. The for-loop will auto-index the x and t arrays, and auto-build the y-array.

Similar Messages

  • Since upgrading to firefox4.0, my NVIDIA kernel mode driver frequently not responding, turning monitor black, then successfully recovered. The Firefox browser would then crash afterwards. Please help solve this very annoying problem.

    as above.

    I have the same problem. I just upgraded to Win 7, no problems. Then I upgraded to FF 4.0, and I kept getting Nvidia Video Card crashes. I always undo my last computer change/install when something like this happens, so I immediately uninstalled 4.0, and went back to my older version of Firefox. No problems ever since.

  • Please help me to fix my problem in security question, I've really totally forgot the answer, this is the second time

    Please help me to fix my problem in security question I've really forgot the answer,
    Please let me know how to fix this, thank you

    You set the answers to the security questions so that nobody else can access the iPad without knowing those answers. It's a security thing. You need to get your head around the importance of these answers.  If we put all your data in a safe and gave you a password to open it, would you forget it? Twice? That is exactly what you have done.
    Restore. The fate of your data is uncertain.

  • HT5312 i forgot my secret question, please help me this problem. Thanks

    I forgot my secret question, please help me this problem. Thanks

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact
    And/or see the  More Like This  section on the right.

  • TS1424 Hy. Please help me. what's the problem? when i accessing icloud or find my friend app: The maximum number of free accounts have been activated on this iPhone.

    Hy. please help me. what's the problem? when i accessing icloud or find my friend:The maximum number of free accounts have been activated on this iPhone.

    Then you'll have to use another iOS device or Mac running OS X Lion or higher to create a new account for you to use on your phone.  If you don't have one, perhaps a friend would allow you to create and account on their device (note: this will use one of their three maximum accounts).  To do this, they would need to go to Settings>iCloud, tap Delete Account (which will delete the account from their device but not from iCloud), then allow you to sign back in with your ID to create the new account.  Then tap Delete Account to delete the new account from their device, and finally, sign back in with their iCloud ID to restore their iCloud account to their device.  Then you can sign in with your ID on your phone in Settings>iCloud and use the new account.

  • My macbook Pro 13" 2013 has a mouse problem, its not moving naturally, and keeps on moving around like its dancing. Please help solve this!!

    My macbook Pro 13" 2013 has a mouse problem, its not moving naturally, and keeps on moving around like its dancing. Please help solve this!!

    Go step by step and test.
    1. Restart
    2. Shut down the computer.
        Clean the trackpad with moist not wet microfiber cloth.
        System Preferences > Point & Click
        Try turning off three finger dragging and then turning it on after  testing.
    3. Is there any Bluetooth device nearby with failing batteries? If so, replace the batteries.
      4. Reset PRAM:   http://support.apple.com/kb/PH14222
    5. Reset SMC.     http://support.apple.com/kb/HT3964
        Choose the method for:
        "Resetting SMC on portables with a battery you should not remove on your own".
    6. Close all windows and quit all applications.
        Click the Spotlight -the magnifying glass icon- in the menu bar. Enter Disk utility in the box.
        Select Disk Utility from the drop down. When the Disk utility window opens up,
        select  Macintosh HD, then First Aid.
        Click Repair Disk Permissions button.
        Ignore the  time remaining estimate.
        Last 1 minute may take longer.

  • My "fn" button is stuck on only revealing mission control in Lion. With this problem none of my "f" keys will work nor can I hold "fn" and delete to delete text in opposite direction. Can someone please help with this?

    My "fn" button is stuck on only revealing mission control in Lion. With this problem none of my "f" keys will work nor can I hold "fn" and delete to delete text in opposite direction. Can someone please help with this?

    Following the fix here worked for me:
    https://discussions.apple.com/message/15680566#15680566
    except my plist file was in ~/Library instead of /Library.
    -Scott

  • Dear , please help me to solve my problem in activating my iPhone Where I lost it since 3 months and when found it cannot activating my ID Where give me (Your Apple ID has been disabled for security reasons. To enable your account, reset your password at

    Dear , please help me to solve my problem in activating my iPhone
    Where I lost it since 3 months and when found it cannot activating my ID
    Where give me (Your Apple ID has been disabled for security reasons. To enable your account, reset your password at applied.apple.com)
    And try to reset my password but cannot please help me where am a poor man and cannot pay another money to solving this problem to any one
    My iPhone data
    Ime:  ****
    Model: A1332
    FCC  ID : BCG-E2380A
    IC: 579C-E2380A
    MY id at cloud   ****
    Password    ( ****)
    My country : Egypt
    MY EMAIL : ****
    Tell no: ****
    <Personal Information Edited By Host>

    The following may help:
    Apple ID: 'This Apple ID has been disabled for security reasons' alert appears - Apple Support
    If you didn't receive your Apple ID verification or reset email - Apple Support

  • Every time I sync my Iphone 5c(with ios 8) to Itunes, it 1. deletes all of my purchased music 2. deletes all of my album artwork 3. replaces all of my deleted songs. please help! this is driving me crazy!

    Every time I sync my Iphone 5c(with ios 8) to Itunes, it 1. deletes all of my purchased music 2. deletes all of my album artwork 3. replaces all of my deleted songs. please help! this is driving me crazy! It syncs 100+ songs, when I only want to sync 1! I'm running Itunes 11.3.1.2

    After having experienced similar problems and having it back to work, I have a few suggestions:
    - Try to find out if the syncing stops at a particular track or song. That might - out of the blue - have gotten corrupted in one way or another. Since that song will not be on the iPod, iTunes will try over and over to put it on and crash in one way or another;
    - reformat the iPod as described in the iTunes 9 crash-thread. It takes time (at first it seems to do nothing, but that is because the green bar is moving with very small steps);
    HTH

  • Please help! Reader X OCSP problem

    hi everybody:
    please help me, I meet a problem. when I open the PDF file with Adobe Reader X, there will be a windows popup and shows:
    "contacting http://ocsp.verisign.com for OCSP based revocation checking, press ESC to cancel". after that the program will be dead.
    If you know how to fix this prpblem, please help me! Thanks in advance!

    We are experiencing the same thing. That same window will pop up and lock up the Adobe. It doesn't matter if the PDF is signed, unsigned, has no signing function or just opening up Adobe itself. The popup will show up about 30 second-ish after opening a PDF or Adobe.
    When looking at task manager the CPU will stick at 50% most of the time the ram for the two processes will fluctuate slightly every minute or so sometimes a few minutes.
    Now I cannot confirm this yet but it seems it may be related to the 10.1.6 as the issue did not show up till that was pushed out to our network.
    The issue so far only appears to be on XP and not 7 however this issue appears to be a new thing so cannot confirm that as we have not recieved many calls...yet. However I have recieved 2 calls in 2 days for the same issue. First call the issue seemed to have resolved itself, however the second call (different person) with this issue, it is causing major problems with Adobe.
    **Update**
    So for us, uninstalling Adobe Reader X and removing all registry entries for Adobe Reader then installing it seems to have worked. It shows up in some instances for PDF's having digital signatures but acctually finishes in a second or two and doesn't show up in all digital signature instances.
    The important part is it seems to have fixed it from hanging at checking the OCSP list. If the issue returns ill make an update here. Figured I should let folks know what worked for us might work for them. If someone can come up with a quicker (like a specific registry edit or deletion) that would be great heh.
    Message was edited by: Cranky SvD Guy

  • Please help me with scsi HD Problem

    Please help me with scsi HD Problem.
    Hi for the life of me I cant resolve this.
    I have a ms-6378 ver.3 board with 1.1g AMD
    i could not install windows 2000 on a Seagate 73Gig 68 pin SCSI Drive ultra wid. after giveing up i added a IDE HD and install win2k SP2 and added the SCSI card all still worked ok
    but as soon as i added the hardrive it locks up and it will
    not compleat the load of win2k and tried a smoler drive 18Gig 68 pin SCSI Drive. but it will not load windows 2000. i am stumpt. ;(

    It sounds like an IRQ conflict.  Make sure you diable the primary and secondary channels for the IDE ports to free up the IRQ resources for the SCSI drives.  If you are using a separate SCSI controller, make sure it is in the proper PCI slot and does not share IRQ's with other cards.

  • Can anyone please help me, I'm having problems with sound while watching video clips using flash player using Internet Explorer\

    Can anyone please help me, I'm having problems with sound while watching video clips using flash player & Internet Explorer

    There's a good chance that this is a known issue.  We'll have a Flash Player 18 beta later this week that should resolve this at http://www.adobe.com/go/flashplayerbeta/

  • I just bought iphone5 last 2 weeks.At first week i can use itune apps after these last 3 days i try to use itunes again and i couldnt open it...same as app store...please help me to solve my problem...thanks and god bless...

    i just bought iphone5 last 2 weeks.At first week i can use itune apps after these last 3 days i try to use itunes again and i couldnt open it...same as app store...please help me to solve my problem...thanks and god bless...

    Thanks Jakob. You are correct.
    I just finished another "experiment".
    I transcode the whole clip 1,2,3,4,5,6,7 to another ext Western Digital HDD and got the Error -50 too. Problem is this ext Western Digital HDD is Daisy chained to the LaCIe.
    So, I tried transcoding to another ext Western Digital HDD connected to my router. And this time NO PROBLEM.
    So, I should readjust the FW800 connectors.
    What do you mean by the controller of the Firewire ?
    Thanks
    Jakob Peterhänsel wrote:
    All I'm saying is, the error -50 from the Finder normally means there is something spooky going on.
    Here, the LaCie drives become unstable. In the few cases where I'v actually opened the cage and put the HDD into another mount, the HDD seems to be fine, so I suspect it's either the FW connectors of the controller itself.
    If the drive is under warranty, replace it, otherwise, move your data to another drive if it startes to do so frequently.
    Here, the drive will 'behave' normally for some time after a reboot of the OS, but it's a pain to reboot every X hours...

  • Suddenly on sunday while i was working, my macbook Air stopped working, right after that i tried getting it on but nothing came other than a grey screen with a question mark right in the center could you please help me in rectifying the problem. Would th

    Suddenly on Sunday while i was working, my macbook Air which i bought last year in Spetember from Arkansas, Little Rock stopped working, right after that i tried getting it on but nothing came other than a grey screen with a question mark right in the center. Could someone please help me in rectifying the problem. Would thi issue also affect saved data. However, I have handed the notebook to Apple for reapirs and they will revert by Thursday 12/04/2012.

    I just received some horrifying news from Adobe about my production suite.  I just FINALLY learned today that what I've been trying to do for over a week now - CAN'T be done because of compatability issues involving updates of both Adobe & Microsucks Winders!!!  I sincerely hope this is not your problem.  Mine is ALMOST HOPELESS!!  Being in this HOPELESS Obamma economy,,,, leaves NO STIMULUS in which to currently upgrade everything that needs upgraded for me to fully use my INVESTMENT in Adobe Suite - sad, horrible and SICKENING!!!
    I just wanted to post this. And again, I truly hope you find a solution. Good Luck!

  • My ipad turns off randomly and doesnt turn back on and wont restore with itunes and i tried holding the power and home button down and i see a faint apple logo than it disappears and still does not operate please help solve this issue

    My ipad turns off randomly and doesnt turn back on and wont restore with itunes and i tried holding the power and home button down and i see a faint apple logo than it disappears and still does not operate please help solve this issue

    i have the same problem...my ipod is 4th generation?uggghhhhh

Maybe you are looking for

  • How to deal with HOLDING Messages in Message Monitoring

    Hi Experts,   The messages are going into Holding statu whenever we try to execute a scenario with multi-mapping or doing a message split.these messages are holding since months and are never sent,even if we try to resend it.Any help on this will be

  • Where is the Preferences Folder in Mac OS X 10.9?

    Hi, I'm having some problems learning the new operating system Mac OS X 10.9.1. I'm looking for the Preferences Folder or the Library Folder for a User Account. Can anyone tell me where to fine it, please? Thank you in advance of your time, Mel.

  • Block level changes on linux when a datafile is reduced by resize

    Hi All, Does anyone know what happens at the block level on Linux when an oracle datafile has its size reduced. For instance, if I have a 6gb datafile with has had the extents written to but the current HWM is 2gb and i then reduce this datafile size

  • Transferred Bill went on Credit report immediately

    I am making an attempt to resolve my issue before taking further action.  I transferred my account from my husbands for a couple weeks and cancelled it. I owed $155. I kept getting a summary for over $250. I wanted to get the discrepancy straightened

  • Icloud removing attachment titles in email

    I am using icloud from my PC to send emails and all attachments are being received with the titles stripped off, labelled 'untitled'. When I create the email and attach the documents the titles are retained, but when received the titles are missing.