The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: finding values from data-points
Replies: 2   Last Post: Nov 26, 2005 11:34 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Duane Bozarth

Posts: 298
Registered: 1/25/05
Re: finding values from data-points
Posted: Nov 25, 2005 10:29 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"S. Gatzka" wrote:
> Hello.
> I am seeking a solution to find specific values from data-points.
> Here's the situation:
> I have two workspace-outputs from simulink.
> Say, x and t, where t is the simulation time.
> In most of the cases I have to find the time t_whatever on which x
> reaches a specific value.
> How can that be managed?
> I have tried using SOLVE, but I think it does work only for
> 'functions', but I have no idee how to tell MATLAB, that x depends on
> t, x(t) ...
> So, anyone can help me?

iiuc, sounds like you just need to interpolate for t based on the x
value. A linear or polynomial fit to the data evaluated w/ the
independent and dependent variables reversed would do the trick...

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.