How can I implement these equations in Matlab programming?
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시

Hi guys, I got to analyse image that is created by Atomic Force Microscope so contains different height values. But I want to make sure I implement these equations correctly, can somebody please help. Would be much appreciated.
Best regards, Matiss
댓글 수: 2
Matt J
2015년 9월 25일
It's hard to help unless you show us the code you've written.
Matiss Ozols
2015년 9월 25일
답변 (1개)
If you have your height values in a 2D matrix Z, use
sa = mean2(abs(Z));
sq = sqrt(mean2(Z.^2))
sz = max(Z(:)) - min(Z(:))
댓글 수: 3
Matiss Ozols
2015년 9월 25일
편집: Matiss Ozols
2015년 9월 25일
Muthu Annamalai
2015년 9월 25일
@Matiss - you need to divide by area if you want normalized numbers. You can be rest assured these results from code by @Thorsten is only off by a constant scale factor (of area of image in question with additional fixed constants) from this other software you are mentioning.
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!