Sorting of vector values
Show older comments
I have two vectors A and B obtained after MATLAB analysis. Both matrices have positive and negative values, starting from the same index. I want to replace all the negative values from let's say vector A with the corresponding positive values from vector B and vice-versa. How do I do that ?
Answers (0)
Categories
Find more on Shifting and Sorting Matrices 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!