Inverse of table column not showing correct answers
Show older comments
Hi there,
I have these results (TimeToComplete) calculated from a table so far using ./ :
0.0167
0.0167
0.0167
0.0167
0.0185
0.0162
I am now trying to calculate the inverse using " 1 ./ TimeToComplete" or " (TimeToComplete).^(-1)" and end up getting the results:
0.0600
0.0600
0.0600
0.0600
0.0541
0.0618
This is obviously not correct and no matter what I try I end up getting these results and am not sure how to fix it?
Thanks
3 Comments
Shunichi Kusano
on 24 Apr 2019
Hi Daniel,
What I noticed is that multiplying TimeToComplete and their inverse is 0.001. I'm afraid that you miss the unit value which may be shown on the top of the vector. Did you check what happens if you multiply the original vector and their inverse?
Daniel Pearson
on 24 Apr 2019
Daniel Pearson
on 24 Apr 2019
Answers (0)
Categories
Find more on Tables 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!