Minimum value ineach column
1 view (last 30 days)
Show older comments
Commented: EldaEbrithil on 14 Aug 2020
i want to extract the minimum positive value in each column, i have used this code
but i am not able to solve the problem. A is a matrix
Thank for the help
Matt J on 14 Aug 2020
Edited: Matt J on 14 Aug 2020
We don't know what columnA is in the code that you've shown. It would have to be a vector with the same number of columns as A for the code to work.
Regardless, the complete operation can easily be done without looping:
More Answers (0)
Find more on Get Started with MATLAB 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!