Generate an equation from a graph XY

Hello

Does anyone know how to generate an equation from a graph XY. I had a set of data, generated a parcel interpolated the data set, and my model/curve is logarithmic. Although I would like to get the equation of the curve, the news, I'm really after are the slope and bias from the equation. This is the format I think that equation would be: y = (Slope) * ln (x) + Bias. Any help is greatly appreciated. Thanks in advance.

You try to run a journal able to Y = ln (x) m + c is no different to running an adjustment linear y = m x' + c, where x' = ln (x).

Yet, you can do it two ways:

Logarithm correspond to a sequence of X and will return amplitude and scale.

Consider a Y ln (bx). We know by simple logarithms ln (bx) can turn in ln (b) + ln (x)

If Y = a (ln (b) + ln (x))

Reorganization, ln (x) Y = a + a (b) ln (equivalent to your expression of the slope and bias)

where a is equal to "amplitude" and b is equal to "scale".

Linear adjustment of a sequence of X = ln (x) returns the slope and intersection.

Consider Y = m ln (x) + c = m X + c

The output of slope m, the point of intersection c.

Tags: NI Software

Similar Questions

  • How to generate random numbers from 1 to 5

    How to generate random numbers from 1 to 5

    -1110340081

    Thank you I ended up

  • I want to auto generate a word from a PDF document. Firstly, the OCR must identify the document. Then I want to be able to select the character 'areas' where the text will be different by document according to the document. Again, I want this automated pr

    I want to auto generate a word from a PDF document. Firstly, the OCR must identify the document. Then I want to be able to select the character 'areas' where the text will be different by document according to the document. Again, I want this automated process.

    We have many forms in our records. From these forms, we generate a list of documents that fully represents what is in the file. To create a list of accurate documentation of a specific file, I have to manually go page-by-page, extract specific information (they are in the same place) and the list of documents manually. I want to automate this process.

    The function of OCR in Acrobat does not 'zone' OCR.

    Server as "automation" is not supported by Acrobat (by license and by design). Acrobat is a desktop application, and so many activities can be "automated" via Acrobat JavaScript and Acrobat Actions (a feature of the 'Pro' version) a hot body will have to be available to keep things moving along.

    From what write you it's maybe that your specific needs would be better served by a category Server product. To research these remember Bing / Google is your friend.

    Be well...

  • Frequency minimum step length and duration list minimum for the frequency lists in the generator of signals from NI 5406

    Hello

    We need power RF amplifier with a function generator to create plasma in an ion source. The signal pulse duration must be 1ms long, repeated twice per second.

    Today, we work in the following way: we spend the RF with f0 (aprox 1,995 MHz) frequency. After 20, we send a trigger signal passing frequency f1 (aprox 2.005 MHz).  We keep this frequency for the rest of the pulse.  However, the plasma that we generate is not 'constant' or stable during the whole impulse. If we smoothly change the frequency during the pulse we could improve.

    We would like to do: use the frequency sweep: rather than use this frequency hopping, we would like to move smoothly f0 f1 (frequency scanning). Then F1 to f2.

    As we have a PXI for data analysis, we believe using the arbitrary function generator of NOR: 5406 of NEITHER allowing the frequency sweep. However, in the book loads, it is not very clear, and I have a few questions:

    -We can create a "list of frequencies. In the site OR below, it shows that the "minimum of Step' is 1.28us, which would be ok for us (I understand that the"minimum duration of Step"is the minimum time between 2 frequencies). However, the manual of the device "NI PXI/PCI-5402/5406 specifications" said the frequency list has a time step of 1 ms to 21s. What is the good?

    -It is also said that the "duration of minimum list" is 1 s. For us, need us a shorter list that 0.5 seconds (we need to repeat the same pulse twice per second.). Is it possible to do what we want?

    -At the end of the day, we would like to implement a control loop which modifies the list of frequencies in real-time.

    http://zone.NI.com/reference/en-XX/help/370524L-01/nisignal_generators_help/features_by_device_smc/

    Thanks for your help.
    Best regards
    Jose.

    Hi Jose,

    You're right about the inconsistencies of the documentation. The minimum step was of 1 ms, but was changed to 1.28 µs to driver version 2.6. The help document has been modified to reflect that, but the specifications were not. I'll make sure that attaches.

    The length of the minimum list is not listed in the book loads, and the latest version of the help the signal generators OR (driver version 2.9) lists the minimum list than the 1 step length. Aid has changed to the driver version 2.6.1 to clarify that the 1s meant 1 step. I've attached a screenshot of the help of the most recent.

    There is an example that is installed with the NOR-FGEN driver called "Fgen Sweep Generator.vi". I would recommend from this for your application.

    I hope that some of the inconsistencies in our documentation brightened. Please let us know if you have any other questions.

    Elizabeth K.

    Generators of signal produced technical support engineer

  • How to convert data from XY graph for type ' signal in "for measurement functions

    Hi all, I have a driver file that generates the screenshot XY graph.  I want to measure the period, using the measurement functions in the LabVIEW palette.  Can someone tell me how to convert this type of signal "in".  The X (time) and Y (power) are all there, but it causes an error when I son together?

    Please see my attached code.

    Thank you

    Its ok people, I found a solution.  See attached FYI.

  • Report generation-> generate an exe from a PC with different Version of Office

    Hello

    I want to build an exe from a VI that use Report Generation Toolkit. The application must be deployed on multiple PCs using Office 2000. During the development phase, I installed Office 2000 on my PC, and everything was ok. After that I was with her, I have reinstalled Office 2007. The Report Generation Toolkit to my PC is so for Office 2000 (it was installed when I had Office 2000 on my PC).

    These days I had to fix a few bugs in my application, I did a new exe but the part that generates the Word reports (using the GTA) doesn't work anymore - I received this error with-35... 9935 (or something like that).

    I tried to find the problem and I found this: with exactly the same VI (_Word dynamic VIs.vi - for Office 2000) nodes invoke from a PC with Office 2007 and Office 2000 PC look different. For example, in Word_Open_Document.vi, the node to invoke Document is different for a PC with Office 2000 + GTA for the year 2000 and a PC with Office 2007 + GTA for Office 2000 (no error).

    So, I tried to copy the VI from a PC with Office 2000 + GTA 2000 on my PC but I can't build it because I get the error: there are a few errors in dynamic VIs.vi _Word (invoke nodes do not match).

    Finally, my question is: How can I build the exe on my PC: 2007, but with GTA for Office 2000 Office?

    Thank you

    Paul

    Hello

    Thank you for your advice. Can you please tell me what you mean with the envelope vi? I don't really understand what you mean.

    Furthermore, I solved the problem. I discovered that the nodes invoke are updated based on the object library for the ActiveX control (in this case the MS Office). The data types are store in the msword9.olb (version 9 - for office 2000 in the Office folder) and msword.olb (version 12 - for office 2007 also in the Office folder). I tried to save the msword9.olb (using the regsvr32.exe) but it does not work for olb files - I need the ocx or dll. But, if I can replace the msword.olb since Office 2007 Office msword9.olb 2000 everything works.

    OK, measures that need to be made:

    1. install the GTA for Office 2000 on the PC

    2. DON'T change anything in the VIs.vi _Word_Dynamic. When Office 2007 is installed the VI arrow should be ventilated (error in VI)

    3 copy the msword9.olb for a system with Office 2000 (or your version) and copy it to your system with Office 2007 with the new name msword.olb. Are NOT FORGET to make a backup of the original file to MS Office 2007 and handing it to the end.

    4. once the new msword.olb is there, the VIs.vi _Word_Dynamic should be no error

    5. build your app exe

    6. restore the old msword.olb

    7. ENJOY your life!

    I hope that it is also useful for someone else.

    Paulie

  • NIMAX generate a report from command line

    Dear users,

    I would like to generate report MAX ("MAX generate Report.vi') command line. Nimax.exe has this ability, or do I have to write a wrapper to vi?

    Kind regards.

    Hello

    It is possible to do it from the command line. You can see how to do this in the document:

    Documenting the Measurement & Automation Explorer (MAX) Configuration information

    http://digital.NI.com/public.nsf/allkb/271F252B4EF0A2E0862570E70056A1E4?OpenDocument

    Kind regards

    Dawid

  • Why C++ SDK always generates some clips from uncompensated image?

    I created a first with video image drop sequence, when I try to make a clip with MXF OP1a preset file using C++ SDK (controller of the exporter)), it's always the video playback image fall not.

    I tried directly from first ( "file-> export-> Media...' ") to export the movie with the same preset file and it works fine.

    I found a comparisons quests (why SDK always generates image trim clips? ) who asked previously, but no solution is given for the particular problem

    It is specifically export controller API.  We are aware of this problem (bug #4122394) and research in a fix for a future version.

  • Generate data XML from Ref_cursor...

    Thanks for the reply

    Published by: 000111 on June 12, 2012 16:41

    Published by: 000111 on June 12, 2012 16:42

    000111 wrote:
    Hello
    I'm now in xml... I'm trying to generate XML from a ref_cursor... can someone tell me how I can achieve this?

    Does this help start?

    create or replace function my_func(ctr number)
    return sys_refcursor
    as
      l_cur sys_refcursor;
    begin
      open l_cur for select * from all_objects where rownum <= ctr ;
      return l_cur;
    end;
    /
    

    One way to use it is:

    select xmltype(my_func(2)) from dual ;
    

    Another way is:

    declare
       hnd dbms_xmlgen.ctxhandle;
    begin
       hnd := dbms_xmlgen.newcontext(my_func(2));
       dbms_xmlgen.setrowsettag(hnd, 'CURSOR');
       dbms_output.put_line(dbms_xmlgen.getxml(hnd));
    end;
    /
    
  • SQL to generate the intervals from date of 6 months each, between two date ranges

    Hi all

    I looked in the forums, if someone uses CREATE_CHUNKS_BY_SQL for dates, but no luck.
    I want to update a table using pieces of dates.
    I need to generate date ranges to divide them by pieces.

    I have a table where I know that max (sales_date) and min (sales_date).
    Lets say max (sales_date): min (sales_date) 01/01/2008: 31/10/2010

    I want to break in intervals of 6 months (180 days) as below:
    chunk_id     start_date     end_date
    --------     ----------     --------
      1          01/01/2008     06/30/2008
      2          01/07/2008     12/31/2008
      3          01/01/2009     06/30/2009
      4          01/07/2009     12/31/2009
      5          01/01/2010     06/30/2010
      6          01/07/2010     10/31/2010
    He didn't exactly finish end of the month. Basically, I need these beaches of dates at apart 180 days.

    I appreciate if someone can throw some ideas on this.

    Thank you
    Raj.

    Hi, Raj,

    Sorry, it is unclear what you are asking.

    To generate a list of dates starting with min_sales_date and including all the 180 days after that up to (but not beyond) max_sales_date:

    WITH     got_params     AS
    (
         SELECT     DATE '2008-01-01'     AS min_sales_date
         ,     DATE '2010-10-31'     AS max_sales_date
         FROM     dual
    )
    SELECT     min_sales_date + (180 * (LEVEL - 1))     AS grp_start_date
    FROM     got_params
    CONNECT BY     LEVEL <= CEIL ( ( (max_sales_date - min_sales_date)
                                    + 1
                           )
                         / 180
                         )
    ;
    

    Output:

    GRP_START_D
    -----------
    01-Jan-2008
    29-Jun-2008
    26-Dec-2008
    24-Jun-2009
    21-Dec-2009
    19-Jun-2010
    

    December 16, 2010 is 180 days after June 19, 2010, but it is not displayed, because is after max_sales_date, which is 31 October 2010.

    I hope this helps you.
    Whenever you have any questions, post a small example of data (CREATE TABLE and INSERT statements) and the results desired from these data.

  • How to calculate the signal / noise from the graph?

    In my current project, I read a periphera voltage signal. the signal lead noise even after filtering.  So, to identify the necessary data, I averaged the signal.

    I have attached the file with an image of graphics. In this graph, the recorded data are drawn black and medium online graph is plotted in red. Now, I have to calculate the ratio of signal to noise to specify with these peak values. How to do?

    As the signal passes through zero, be careful in the way you set the signal / noise.  For sinusoidal signals, that ratio is defined as the RMS value of the noise (the signal with the desired sinusoidal signal deleted) divided by the effective value of sinusoidal component.

    First of all I would like to subtract the average value of the raw signal.  The difference is the noise.  You can set the signal / noise.  A RMS calculation might work.  If you have a mathematical model for the desired signal, a fitting for this model can be useful too.

    Lynn

  • How to clear data from XY graph for another try

    I have a chart XY Motors charges against intensity. I used shift registers to build the table VI. After termination of the program once using terminal stop. And I deleted the graph. When I started taking the measure a second time, same data again before the first. So how can erase it. Please answer

    It's a very quick way to do it: initialize your shift registers.

    What happens in your VI is that, after the VI stops (when you click the stop button) the data contained in the shift registers (your matrices X and Y) remains in memory, if you rerun the VI it will add data in these tables.

    To initialize your shift, registers, you need to connect vacuum table them before the while loop. Like this:

    hope this helps

  • Select this OPTION to generate XML data from the table using XMLELEMENT, XMLAGG gives error ORA-19011 string buffer too small

    My select statement fails with the error:


    The ORA-19011 string buffer too small


    The select statement looks like:


    SELECT TO_CLOB)

    XMLELEMENT ("accounts",

    XMLELEMENT ("count",

    XMLATTRIBUTES)

    rownum AS "recordId."

    To_date('20130520','YYYYMMDD') AS "datestarted."

    123456 AS "previousBatchId."

    56789 AS 'previousRecordId '.

    ),

    ....

    .... .

    .....

    XMLFOREST)

    SIG_ROLE AS "SignatoryRole."

    To_char(TRANSFER_DATE,'YYYY-mm-DD') AS "TransferDate."

    NVL(Reason,0) AS 'reason '.

    ) AS the 'transfer '.

    )

    ()) AS CRDTRPT

    OF ANY_TABLE;

    • It looks like I can choose only 4000 characters using the SELECT statement (please, correct me if I'm wrong)

    I'd use the XMLGEN package. But the environment team says no mounted drives in the future with the arrival of the EXADATA.

    NO HARD DRIVE MOUNTED, NO ACCESS TO THE DATABASE DIRECTORIES

    No UTL_FILE

    I need to use the REEL spool the resulting XML data of the SELECT query.

    SQL is a standard in my org, but I can do with a PL/SQL solution also to load data into a table (cannot use a COIL with PL/SQL)

    What I do is:

    1. a column of type CLOB to a xml_report of the loading of the above SELECT query table
    2. Then using SELECT * FROM xml_report to SPOOL the data to a file report.xml

    No need of XMLTYPE data behind. Xml data stream is fine for me.

    In addition, I need to validate the XML file, also using XSD.

    Problem is that the resulting lines of the select query are supposed to be from 15000 to 20000 bytes long.

    Oracle database version: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    A Suggestion or a solution to this problem would be appreciated.

    (Sorry for the use of "BOLD", just to make it more readable and highlight the imp points)

    Bravo!

    Rahul

    It looks like I can choose only 4000 characters using the SELECT statement (please, correct me if I'm wrong)

    You use the right method.

    There is an implicit conversion from XMLType to the data type VARCHAR2 as expected by the function TO_CLOB, where the limitation, and the error.

    To serialize XMLType to CLOB, use the XMLSerialize function:

    SELECT XMLSerialize (DOCUMENT

    XMLELEMENT ("accounts",

    ...

    )

    )

    OF ANY_TABLE;

    For the rest of the requirement, I wish you good luck trying to spool the XML correctly.

    You may need to play around with the SET LONG and SET LONGCHUNKSIZE commands to operate.

  • How to remove the blue coloration of a bibliographic hyperlink when you generate a pdf from LaTeX?

    I need to produce a b + w pdf for a thesis or printing will levy a tax of color for all pages with even a hint of color.  I can't seem to find a way to remove the color in LaTeX can remove it from the pdf file.

    You do not want to communicate with a person who deals with LaTex. Drive cannot change the link colors.

  • Why SDK always generates some clips from uncompensated image?

    I created a first sequence: NTSC DV, Codec: DV NTSC, 29.97 FPS, 720 x 480, timecode offset.

    When I try to make a clip with file MXF OP1a (NTSC DV25) presets by SDK, it always generates uncompensated image clip.

    If I use "file-> export-> media..." with the same preset file, exactly compensated.

    "Offset" seems to be an option of sequence and there is no place for config it in the Presets dialog box.

    How can I generate clip image offset by SDK (Controller of the exporter)?

    Now I understand your question.

    There is no API to export controllers to intercept or to modify the rendering, contained in the .epr file being used.

Maybe you are looking for

  • New folder in gray and can be used or removed

    I created a new folder but it is grayed out and when I try to put an email in it creates an another subfolder with a part of the subject of the email into it. Also I cannot now delete this files. When I go in remove it asks if I want to delete and I

  • OfficeJet HP4620 All - In - One Printer (printing of the photo)

    Migrated to a Photosmart in one Officejet and, even if I'm happy overall, I find the 4620 Officejet does not print photos very well at all.  Two questions: 1. in case the Officejet print a photo on photo paper as well as the Photosmart? 2. If the ans

  • How do I (send to) and (back of) my hardware DAQ OR-8451 using c#

    I am writing a program that interacts with my camera of NOR-8451 using c# but I have problems to establish the interaction.

  • equivalent drawBitmap for pre OS 4.6

    Is it possible to put a background image bitmap on a vertical field or horizontal Manager pre OS 4.6? I see that drawBitmap was added from 4.6 and prior to that, I see drawImage, but I'm not sure if it will reach the same behavior. Also, if drawImage

  • WMP.dll error when opening WMP or WMC

    Runing Windows 7 Ultimate. Both work very well. Problem started suddenly and cannot assign a windows update to the question. Error Msg: Ehshell.exe - bad Image C:\windows\system32\wmp.dll is not designed to run on windows or it contains an error. Try