Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.



Re: finding values from datapoints
Posted:
Nov 25, 2005 10:29 AM


"S. Gatzka" wrote: > > Hello. > > I am seeking a solution to find specific values from datapoints. > Here's the situation: > > I have two workspaceoutputs 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...



