Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Viewing all articles
Browse latest Browse all 19628

Re: How do I acces the data I export from cftool ?

$
0
0


"George Bora" <bora.georgeRemoveThis@yahoo.com> wrote in message
news:kjuc8l$n9j$1@newscl01ah.mathworks.com...
> Hello all, I've used the cftool and smooth spline to ... well smooth my
> data and now I need to export it to the workspace for further tinkering.
>
> After I exported those 3 objects, I assumed, please correct me if I'm
> wrong , that my new data is in cfit but I don't know how to extract it.

I'm not sure if the CFIT object contains the smoothed data. I believe the
CFIT object just contains the information needed to smooth data you pass
into it.

> I know that the data is inside of it as when I right click cfit and chose
> to plot the function from the submenu it gives me exactly the plot I'm
> looking for.
>
> My problem is that I don't know how to get that plot's data into a array,
> I need 96 datapoints from the smoothed out function in the cfit and I
> don't know how to extract them.

Try evaluating the object using the original X data that you passed into
CFTOOL.

http://www.mathworks.com/help/curvefit/feval.html

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

Viewing all articles
Browse latest Browse all 19628

Trending Articles