Finding the slope of a tangent to a curve

Hello everyone,
I would appreciate guidance to any specific built-in subVI or routine which I can use to draw a tangent to a curve and find its slope. Specifically, I will need to to able to draw this tangent at any user specifed y-value. In order to keep it very accurate, I will not like to use any arbitrary cursors. The curve itself is drawn from a text file data which is read and passed onto an xy-graph.
Any guidance will be much appreciated.
cheers,
Navneet
Solved!
Go to Solution.

Not really Mathan, going through it still.
For argument sake, lets assume an exponential increasing function and i want to find the slope at the point where y = 0. what will be the most optimum approach for this?
Thanks for your reply, kindly appreciated.

Similar Messages

  • I cannot find the internet browser icon on my blackberry curve 9360

    Hello everyone, I'd really appreciate some help please!
    I cannot find the internet browser icon on my blackberry curve 9360.
    I've gone to options, Device, Advanced system settings, opened the Host routing table, hit the menu key and chosen register now. I get message saying "Registration sent!"
    What do I need to do now?
    Many thanks in advance.

    Hi wilkasmum
    This article will guide you how to solve that problem: The browser icon is missing or not shown on the BlackBerry smartphone
    Good luck.
    • Click Likes to appreciate those who helps you
    • If your issue solved, mark the best post in your thread as Solution

  • How do I find the slope and intercept of two-points in Labview

    This should be quite easy to do, But how do I have a user enter two (x,y) points and have labview give them the slope and intercept?
    Thanks

    How about just two sets of X Y value pairs?
    Darn, I'm too slow.
    Message Edited by Bill@NGC on 02-09-2008 02:42 PM
    “A child of five could understand this. Send someone to fetch a child of five.”
    ― Groucho Marx
    Attachments:
    slope.png ‏23 KB

  • How to calculate the slope of a signal to find its peak

    I have acquired a ECG signal through the DAQ. Actually I have to calculate the slope of the ECG signal in order to find the R-peak. By finding the slope of R- wave which will be greater than the slope of T-wave, I could differentiate between R-wave and T-wave as it looks similar for some patients. Can any one of you guide me in finding the slope of the incoming signal and then detect the R-wave.
    Thank you. 

    sorry, I do not have version 7.1, so I am attaching it in LV8.0 and a picture of the block diagram.  Maybe someone can convert it for you, or that you can see enough to recreate the code from my pics... not too much going on.  Hope this works for you.
    Message Edited by Stradis on 10-11-2007 04:21 AM
    Paul <--Always Learning!!!
    sense and simplicity.
    Browse my sample VIs?
    Attachments:
    trigger to sample.png ‏10 KB
    trigger to sampleWithSlope.vi ‏288 KB

  • Get the slope (gradient - derivative) of a curve at a point

    hello
    does anyone know if it is possible to get the slope (also might be known as gradient, derivative), of a curve at some point?
    What i want to do, is draw a line that is vertical to a curve, so i need to have it's slope
    thanx

    The easiest way to do it would to be to get the point right before the point you're looking at and the point right after it and just find the slope between the two
    If you try this method, make sure they are double values. Simple ints will not give you the slope you want.
    I made a program once that animated a rocket flying through the air. The curve was found using a parametric equation (x and y in terms of time). To point the rocket, I had to find the dirivitive (a little bit of calc 1). Then, I just made a function that calculated the slope of the curve at any given time (t). It worked great, but it may not be what you're looking for. If you do need to find the dirivitive, post some code or the formula you are using, I'm sure there are people on this board that can help you.

  • Using DIAdem, how to get the slope of a signal (Linear or non-linear​)

    Rate of rise or rate of fall on a temperature signal, I'm trying to include the slope in my report using DIAdem,
    I couldn't find , Is there a slope function?
    or a way to do that
    Thanks
    Solved!
    Go to Solution.

    Hi amat,
    You can get the slope fit calculation from the built-in function "ANALYSIS >> Curve Fitting >> Calculate Regression".  If you want to fit only a subset of the data, you will need to extract that subset of data to a new data channel and then run the approximation calculation on the new channel.
    Here is a script I have created to do the range extraction and statistics/slope calculation automatically.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments
    Attachments:
    Selected Region Stats.zip ‏5 KB

  • Evaluation of the slope of part of a curve with cursors

    Good morning,
    I am trying to get the slope of part of a curve. The curve is a stress strain curve and the idea is simply to manually choose the X range to evaluate the slope and extract the Young modulus. The user would place the cursors and the slope parameters would be displayed in an area.
    I got some clues from various examples here in presenting au automatized calculation of the min, max, average and other parameters of the part of the curve contained between the two cursors, using the StatblockCalc command in the adequate range.
    However, I understand that the regression tool needs two new channels containing the values between cursors (flags and export manually).
    Then, the doubt is: Is there some way to bypass the creation of new channels each time the cursor is moved to get the linear regression parameters "live"? I am rather new using scripts with diadem and can´t find the apropriate way to code this. Do you have any clue?
    Thank you in advance,
    David

    Hi David,
    See if this application does what you want.  Note that it installs a new icon at the top of the VIEW icon bar, so that you can call the script easily from the VIEW panel after you've run it once in the SCRIPT panel.  There is no way around extracting the new X and Y channels from the desired X range in order to calculate the slope of that X region, but you don't have to use flags, which are designed for interactive use only.
    http://forums.ni.com/t5/DIAdem/Using-DIAdem-how-to​-get-the-slope-of-a-signal-Linear-or-non/td-p/2158​...
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • More than 4 places after the decimal for the slope of line equation?

    Hello
    I'm doing some graphing for chemistry class and I'm trying to find where in Numbers I can change the preference for the trendline equation.(y=mx+b) Currently m is only showing up to 0.xxxx . I need it to show at least 7 or 8 places. Or even better, is there a preference to set it to show x amount of significant figures?
    Much thanks,
    Ryan

    No preference that I am aware of. You can calculate the intercept and slope yourself using INTERCEPT and SLOPE functions, create a one-celled table with a formula that makes a string for y=mx+b, and place that one-cell table on top of the chart.
    If Table 1 cell B2 has the slope and C2 has the intercept, the one-cell new table formula would be
    ="="&Table 1::B2&"x+"&Table 1::C2
    The string will have the same number of decimal places as what it finds in B2 and C2.

  • The slope of a graph

    I'm trying to calculate the slope of a graph aquired by a daq device.
    I have to find the part of the curve where it reaches the peak, not the
    maximum. Can anybody point out a vi or function to find an
    approximation to the peak?
    Best Regards
    Svavar Von Eisland
    Sent via Deja.com http://www.deja.com/
    Share what you know. Learn what you don't.

    You need to incrementally measure the slope from point to point and keep
    track of where the slope goes to zero (or a really small number) this could
    be at several points depending on how many minimums and maximums there are,
    to tell if it is a max or a min you will need to keep track of the sign
    changes on either side of the zero slope point(s) (derivitive). Also
    depending on how noisy your data is you may need to smooth it as you go -
    maybe some type of running average. The end points of your data will have
    to be excluded since the slope is undefined (ie you can't take a slope of a
    single point).
    Refer to your differential equations / calculaus book for futher info. :-)
    Chris
    [email protected] wrote in message <7o926e$3bo$[email protected]>...
    >I'm trying to
    calculate the slope of a graph aquired by a daq device.
    >I have to find the part of the curve where it reaches the peak, not the
    >maximum. Can anybody point out a vi or function to find an
    >approximation to the peak?
    >
    >Best Regards
    >Svavar Von Eisland
    >
    >
    >Sent via Deja.com http://www.deja.com/
    >Share what you know. Learn what you don't.

  • How to find the shape change of a curve

    Dear All,
    I need to find the point where the curve got deviated. I Tried Calculating Slope It Is Not useful. Share Some Ideas to sort out this problem.
    Find the attached vi and the TDMS file read the file with default group name and let me know the result.
    Thanks and regards,
    Rams.
    Attachments:
    Test.vi ‏38 KB
    Testdata.zip ‏293 KB

    You don't define what you mean by "deviate". Deviate from what? From zero? From a straight line?
    Your curve has a couple of places where the slope changes, can you tell us which one you want?
    First is it horizontal, then
    starts sloping upward. (x=~1.0)
    changes in slope (x=~1.4)
    another change in slope (x=~1.9)
    In what way is calculating the slope "not useful"?
    LabVIEW Champion . Do more with less code and in less time .

  • I have bought a film from itunes and the credit has come out of my account, but i can't find the film anywhere, it said it was downloading, then i left the laptop and on return i couldn't find the film. how do i find the film?

    i have bought a film from itunes and the credit has come out of my account, but i can't find the film anywhere, it said it was downloading, then i left the laptop and on return i couldn't find the film. how do i find the film?

    Maybe it is in the Purchased category of iTunes,
    Try going there

  • HT1349 How do you get help from apple if you don't know where to find the serial number of my "product."  I don't know if they mean my itunes program, my iphone, my computer, which one, the number on the computer (is there one), or something in Windows or

    How are you supposed to get help from Apple if you don't know what your serial number is?  They say to input the serial number of the "product" that you are asking about.  Since my problem is how to deauthorize/authorize computers, and they are saying I have more than 5 (which I have never owned more than 5 computers in my life), I can't imagine what serial number they mean.  Does it mean your desktop computer?  If so, which one?  Do they mean your device?  LIke your iPhone, iPod or whatever?  Do they mean the software ON one of your computers and/or devices?  If so, which program, and on which computer/device?
    We have three operational computers, one does not have iTunes on it.  Since Apple is saying I have more than 5 authorized computers, and I can't imagine what they are, I am afraid to deauthorize all my computers.  See what I mean?  I just wanted to ask the question about how I can find out WHICH computers Apple thinks I have authorized, so I can decide if it's safe to deauthorize them all or not.  I only know of 2 computers that have iTunes on them, so how can there be 5?  We also have 2 iPhones and 2 iPods in this family, but one of the iPhones has his own apple id.  He may have been using mine, since his computer died.  I read that those don't count as "computers" to the 5.  Do they, then?
    Help!  I can't contact apple because I have no idea what they mean about serial number.  I doubt they would help me anyway.  In order to get the serial number off my desktop computer (that has iTunes on it already), I will have to move furniture, so I don't want to if that's not it.  Is there some way to find the serial number in the software, either on my desktop or my iPhone?

    sunshinecowgill wrote:
    We have three operational computers, one does not have iTunes on it.  Since Apple is saying I have more than 5 authorized computers, and I can't imagine what they are, I am afraid to deauthorize all my computers.  See what I mean?  I just wanted to ask the question about how I can find out WHICH computers Apple thinks I have authorized, so I can decide if it's safe to deauthorize them all or not. 
    You could have more 5 computers authorized if you ever, for example, reformatted a hard drive or replaced a hard drive without deauthorizing the computer first. Apple's system would see that as a different computer, even though you don't. There's nothing to be afraid of in deauthorizing everything and the reauthorizing what you actually have. You won't lose any data. Mistimp is correct, they can't tell you which computers are authorized.

  • How do I find the total size of all my Music in iTunes 11?

    I'm looking to get a new iPod, either a nano or Touch, so I'm trying to find the total size of all of my Music. Since iTunes 11's interface is so different from previous versions, I don't see a way to view that.

    Ctrl B to show top menu
    View Show Status Bar to show the grey bar at the bottom with the info you want.
    While your there View> Show Sidebar and see if you prefer that.

  • How do I find the cookies I want to keep

    Recently I asked for some help but I think my request has got lost.
    I had beenadvised to save the cookies I want to keep but this is beyond me.
    My question is how do I find the cookie I want to keep? It is a cookie for an ebook and I have no idea what it is.
    Will deleting all other cookies mean that it will also delete my passwords and log ins on several sites? I don't want this to happen.
    Which brings me to the last point - You say that if I list exceptions to cookies I want to keep (at least I think that is what you mean), how do I find all those cookies?
    Again, sorry for troubling you but until I can find out more about the cookies, I don't want to delete these in case I delete the wrong ones, such as the ebook.
    Thank you cor-el. I do appreciate your advice...enormously.
    Anthony

    Dear Sir,
    Thank you so much for the above. It will be of great help in telling me where to go. But my problem is that if I can find cookies, I don't know which ones I want to keep. Are they labelled with the sites they refer to? If so that will help me. Apart from one which is the cookie I need to get to my online ebook, I guess there are cookies for the various passwords I have saved?
    Forgive me but I am an old man and not real great with computers.
    Thanks,
    Anthony

  • In Mountain Lion, how do I find the location of an open Preview File?  The file "properties" tab is no longer available.

    I typically have several open Preview files at any one time and often forget where, sometimes if, I saved them.  In Mountain Lion, how do I find the location of an open Preview File?  Tried holding option + command in spotlight but I don't see a path name appear anywhere. 

    Yes, cmd-option on a file you choose in Spotlight and the path will appear at the bottom of the Preview window.
    EDIT: Also, if it is bookmarked the path is in Bookmarks.

Maybe you are looking for

  • Where can i find the "online hel

    Hello all i am using Audigy 2 ZS in Windows XP and seek help with using Creative Audio Converter the only mention i can find in the users guide is this: "For more information and usage details on Creative Audio Converter, refer to its online Help." O

  • Problem in using TreeSet with a Comparator

    Hello, There seems to be a bug in the implementation of TreeSet, while using a specific Comparator to sort its elements. Here's the problem I got into: the Comparator I use has a type parameter which defines, of course, the type of objects that may b

  • Program with Top includes

    Hallo, I hope someone can help me. I would like to know if is it allowed this program under ? Program with Top Includes. Type 1 Exucutable Program. Developement class $TMP - Temporary Objects. Logical Database ABS. ABAP Book: Customer and bookings. (

  • IAC 3.1.1 users who are member of more than one OrgUnit are not able to order services?

    Hi, Power Down, Power Cycle, Take Snapshot and Decommission services are not working for users who are member of more than one organization!! Error Message: The service form could not be submitted because of following error: [newscale][SQLServer JDBC

  • How to increment a character variable?

    Hi, I need to increment v_chgno by 1. But the following code gives me runtime error. Please can anyone guide me where i am going wrong. Data:  v_chgno TYPE char12 value 'CR0000000000',           v_newchgno TYPE char12. v_newchgno = v_chgno + 1. Thank