Removing a row from a matrix when one value is zero without hardcoding
1 view (last 30 days)
Show older comments
Commented: James Keiser on 15 Jun 2021
You have been provided stock data for Boeing in 2018 (from January 1st to December 31st). The data includes the opening (column 4) and closing values (column 7) for the day, along with the highest (column 5) and lowest value (column 6) for the day. I need to be able to remove the rows where opening = 0 without hardcoding.
Opening = BoeingStock(:,4);
if Opening == 0
BoeingStock(:) = 
BoeingStock(:,:0 = [:,:]
Mouhamed Niasse on 15 Jun 2021
Here is what i achieved.
Hope it does help you.
Find more on Graphics Performance 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!