error in Correlation Coef
显示 更早的评论
i am using code
ddt=randn(10,3); ddm=randn(10,1); nd=size(ddt,2); for i=1:nd tw(i) = corrcoef(ddt(:,i),ddm);
end;
but getting error " In an assignment A(I) = B, the number of elements in B and I must be the same.
tw(i) =
corrcoef(ddt(:,i),ddm); how to get rid off this error .
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Hilbert and Walsh-Hadamard Transforms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!