Sebastian - MATLAB Cody - MATLAB Central

Sebastian

25938
Rank
3
Badges
181
Score
1 – 24 of 24

Sebastian submitted a Comment to Solution 13136721

a fun little challenge

on 10 Feb 2024

Sebastian submitted a Comment to Solution 13136716

what a dumb joke of a problem. these are the code examples, why missions in space fail... the following code is still better. function bmi = calculate_bmi(hw) % Convert height from inches to meters height_m = hw(:, 1) * 0.0254; % 1 inch = 0.0254 meters % Convert weight from pounds to kilograms weight_kg = hw(:, 2) * 0.453592; % 1 pound = 0.453592 kilograms % Calculate BMI using the formula for the imperial system bmi = weight_kg ./ (height_m .^ 2); end

on 10 Feb 2024

Sebastian submitted a Comment to Solution 1917785

while this is the leading solution, it's highly insecure; but that was not a goal of the code :)

on 10 Feb 2024

Sebastian received Promoter badge for Problem 3076. Create a vector

on 6 Jan 2023

Sebastian received Commenter badge for Solution 7889895

on 6 Jan 2023

Sebastian submitted a Comment to Solution 7889895

gg

on 6 Jan 2023

Sebastian received Solver badge for Solution 10232047

on 4 Jan 2023

1 – 24 of 24
Go to top of page