Cody

Diego Guisasola Plejo

13359
Rank
2
Badges
140
Score
1 – 17 of 17

Diego Guisasola Plejo submitted a Comment to Solution 2226515

This is an improved version of my code but still doesn't work: function mpg = sort_cars(N) S = load('cars.mat'); cars = struct2table(S) B = sortrows(cars,2) mpg = B.MPG(1:N) end

on 21 Apr 2020

Diego Guisasola Plejo received Commenter badge for Solution 2226463

on 21 Apr 2020

Diego Guisasola Plejo submitted a Comment to Solution 2226463

I don't know why my solution is not working: function mpg = sort_cars(N) cars = load('cars.mat') B = sortrows(cars,2) mpg = B.MPG(1:N) end I tested it on the desktop version and it works flawlessly. Any ideas, please? Thanks in advance!

on 21 Apr 2020

Diego Guisasola Plejo received Solver badge for Solution 2226163

on 20 Apr 2020

1 – 17 of 17