How do I generate a function to satisfy given conditions.
1 次查看(过去 30 天)
显示 更早的评论
I have a 6000 x 550 data matrix (X) and another 1 x 550 matrix (Y). I need to find a function such that the following holds true: mean(function(X))= Y . I do not know the form of the function and have no idea how to proceed. Is there any way to do this?
Cheers, Aditya.
0 个评论
回答(2 个)
Sachin Ganjare
2012-10-22
You can use System Identification Toolbox
Refer link below for details:
Hope it helps!!
0 个评论
Walter Roberson
2012-10-22
function result = TheFunction(X,Y)
result = repmat(Y, [size(X,1), 1]);
end
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear Model Identification 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!