How to calculate difference between a vector
3 次查看(过去 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 中查找有关 Read, Write, and Modify Image 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!