Unexpected matlab operator Covariance
Show older comments
I'm trying to calculate the the covariance of a set of data using stats::covariance but I keep getting an error message saying 'Unexpected Matlab operator'. The code I used was:
stats::covariance([1, 2, 6, 9],[5, 9, 3, 7], Population])
I don't see the error in the code. Is there is another way of calculating the covariance?
Accepted Answer
More Answers (0)
Categories
Find more on Get Started with MuPAD 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!