Question: Practice Exercise 3 . 1 1 . 1 and 3 . 1 1 . 2 Change the format to shortg so that the result of
Practice Exercise and
Change the format to shortg so that the result of the following exercises is easier to read.
Practice Exercise
Use the clock function to find the current time and date. Set your answer equal to time
Practice Exercise
Use the date function to find the current date. Set your answer equal to datetoday.
Update
The clock and date functions are being phased out and as of version b MATLAB suggests you replace them
with the datetime function.
a Use the datetime function to find the current date and time.
Set your answer equal to time
b To find just today's date use datetimetoday Set your answer equal to datetoday
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
