How do I generate a function to satisfy given conditions.
이전 댓글 표시
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.
답변 (2개)
Sachin Ganjare
2012년 10월 22일
0 개 추천
You can use System Identification Toolbox
Refer link below for details:
Hope it helps!!
Walter Roberson
2012년 10월 22일
function result = TheFunction(X,Y)
result = repmat(Y, [size(X,1), 1]);
end
카테고리
도움말 센터 및 File Exchange에서 Signal Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!