How to calculate difference between a vector
1 view (last 30 days)
Show older comments
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 Comments
Accepted Answer
Dave B
on 12 Nov 2021
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)
More Answers (0)
See Also
Categories
Find more on Read, Write, and Modify Image in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!