009——Matlab调用cftool工具的函数方法

(一)参考文献:http://blog.sina.com.cn/s/blog_4a0a8b5d0100uare.html

(二)视频教程:

(三)下载地址:

 clc;
 clear;
%% 读取ecxel中的数据到num中去了
%Num:读取的数据存进数组num中  Txt:读取到的文本放进txt中(中文那些) ShkingKitten:输出未处理的数据  Xlsread(‘地址’,‘ecxel里面文件栏的名字’,读取的数据)
[num] = xlsread('DATA.xls');
X=num(:,1); %第一列作为X
Y=num(:,2); %第二列作为Y

%[fitresult, gof] = cftool_Exponential(X, Y);
%disp(fitresult);

猜你喜欢

转载自www.cnblogs.com/luxiaoguogege/p/11642639.html