MATLAB: Rounding Functions (round down) - floor

Опубликовано: 25 Октябрь 2024
на канале: Engineering with Dr. Kelsey Joy
615
10

I demonstrate how to use the MATLAB built-in function FLOOR; this function is used to round values down.

To round up, use the CEIL function and watch this video:    • Shorts  

To round based on common rounding rule of 5 rounds up, then use ROUND function and watch this video:    • Shorts  

To round towards zero, so round down for positive numbers and up for negative numbers, then use FIX function and watch this video:
   • Shorts  

To round down, use the FLOOR function and watch this video:    • Shorts  


#matlab #matlabtutorials #code #engineer #engineering #learntocode