|
"Tom Choi" <style01@hotmail.co.uk> wrote in message <g8h8v2
$gj8$1@fred.mathworks.com>...
> Hi All,
> I have smoothed my data using cfttool, with 'loess'
> smoothing. Cfttool shows me the graph of the smoothed
data.
> However, this is not what I want. What I want is the
> individual x and y data values for the smoothed data. How
> can I export it onto a text or excel file? All I can get
> cfttool to do is to export it onto a struct. array onto
the
> workspace. I can't get any further than that. Can
somebody
> help me?
There are so many ways to do what you want to do. For
example if your data set is small you could display it on
the screen with:
disp([analysisresults1.xi, analysisresults1.yfit]);
then select the displayed results with your mouse copy them
and paste them into an editor.
You could assign the results to an array:
a = ([analysisresults1.xi, analysisresults1.yfit];
to make it easy to try various things like:
csvwrite('foo.csv', a);
xlswrite('foo.xls', a);
dlmwrite('foo.txt', a, ' ');
etc
Donn
|