How to calculate difference between a vector
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a housekeeping gene [2 4 6 8 10]
How do i work out the difference between each measurement of the housekeeping gene and the mean of housekeeping gene?
댓글 수: 0
채택된 답변
Dave B
2021년 11월 12일
I think you're asking how to take the values [4 8 6 104 5] and subtract the mean?
a = [4 8 6 104 5];
b = a-mean(a)
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Feature Detection and Extraction에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!