求高手指点--关于matlab的图像处理
Yi =223225225225225225225224206209212218214209211214
224224225225224223223222217213200203212209211213
225225224224222222224228218208203212213212216217
224225224222222224219184194208217213215209200210
222222223224213179151147216220217211212218216215
222222209171148153155154219220219214214218218218
204167144151158158160165219216211213219217216217
156156159161164172187206219220218217217214215216
Y_avg =
112113113113113113113112103105106109107105106107
112112113113112112112111109107100102106105106107
113113112112111111112114109104102106107106108109
112113112111111112110 92 97104109107108105100105
111111112112107 90 76 74108110109106106109108108
111111105 86 74 77 78 77110110110107107109109109
102 84 72 76 79 79 80 83110108106107110109108109
78 78 80 81 82 86 94103110110109109109107108108
for i=1:8
ay=regress(Y_avg(i,:),Yi(i,:),3)
在matlab中如何进行拟合?结果总出现错误提示,求大家知道一下,谢谢了
知道---》指导,不好意思啊{:{26}:} 我是第一次用matlab进行编程,大家不要围观啊,给点指导吧,将不胜感激{:{51}:} 本帖最后由 ChaChing 于 2012-11-12 21:52 编辑
个人水平/时间有限,真不清楚LZ要什麼
1.应该说明下错误提示
??? Error using ==> regress at 65
The number of rows in Y must equal the number of rows in X
2.from help
X is an n-by-p matrix of p predictors at each of n observations. y is an n-by-1 vector of observed responses.
3.LZ的Y_avg(i,:),Yi(i,:),都是1*16 ChaChing 发表于 2012-11-12 21:51 static/image/common/back.gif
个人水平/时间有限,真不清楚LZ要什麼
1.应该说明下错误提示
谢谢
{:{51}:}
页:
[1]