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 ]
S. Gatzka

Posts: 29
Registered: 5/7/05
Re: finding values from data-points
Posted: Nov 26, 2005 11:34 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Duane Bozarth wrote:
>
>
> "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...
>


So I do a fit with curve-fitting-toolbox, but then what?
How can I access the function within MATLAB?



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.