How can solve the problem? please!
이전 댓글 표시
p=[148
249
357
547
854
1
1184
996
966
679
586
503
281
1
110
89
58
68
28
19
16
6
13
7
4
2
1
12]
this equation
and this code
xn = zeros(size(p))
mx=max (p(2));
mn=min (p(1));
mmd=mx-mn;
for i=1:(P,1)
xn(i,:)=(p(i,:)-mn)./(mmd)*(mx-mn)+mn
end
p is data for normalization
I applied min and max equation that is mention above.
When I applied the code the output wrong, please can you tell where the wrong in the code
댓글 수: 3
Walter Roberson
2016년 8월 27일
How does this differ from your existing question http://www.mathworks.com/matlabcentral/answers/300832-i-have-problem-in-min-and-max-normalization ?
abduall hassn
2016년 8월 27일
Walter Roberson
2016년 8월 27일
Is the previous question solved relative to what you asked there? If so then you should Accept one of the solutions. But if what you were wanting was just to correct the question, then you should have edited that one instead of starting a new question.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Numeric Solvers에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!