Cody

Hugo Ormo

1781
Rank
6
Badges
770
Score
51 – 80 of 80

Hugo Ormo submitted a Comment to Problem 44952. Find MPG of Lightest Cars

I do not see why this does not work. It seems to work in the Workspace alright: function mpg = sort_cars(N) cars = load('cars.mat') carsSorted = sortrows(cars,'Weight') mpg = carsSorted.MPG(1:N) end

on 5 Apr 2020

Hugo Ormo submitted a Comment to Problem 44950. Calculate Inner Product

I am confused... this ought to work: function z = in_prod(x,y) if size(x,2) == size(y,1) z = x * y else z = "The inner dimensions are " + size(x) + " and " + size(y) + ". Matrix multiplication is not possible" end

on 5 Apr 2020

Hugo Ormo received Promoter badge for Problem 44945. Calculate BMI

on 5 Apr 2020

Hugo Ormo received Solver badge for Solution 2191992

on 4 Apr 2020

51 – 80 of 80