Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. Rounding. Matlab allows us to round numbers in different ways. Lets try it out. a. Try out round(3.1), round(3.49), round(3.5), and round(3.999). What does

3. Rounding. Matlab allows us to round numbers in different ways. Lets try it out. a. Try out round(3.1), round(3.49), round(3.5), and round(3.999). What does round do? b. Now try the ceil function. What is ceil(3.000000001), ceil(3.9999999999) and ceil(2.999999999)? c. Repeat part b but use the floor function. How do ceil and floor work? d. rem can be a useful function to find remainders. Try out rem(3,1), rem(3,2), and rem(3,3). Describe how you think rem works.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design And Implementation

Authors: Edward Sciore

2nd Edition

3030338355, 978-3030338350

More Books

Students also viewed these Databases questions

Question

5. Recognize your ability to repair and let go of painful conflict

Answered: 1 week ago