MATLAB: Validated User Input - Month (as a number)

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

How to collect an input from a user and validate it. Collecting the user's birthday month as a number. This is a first step to a MATLAB program to calculate how long until someone's next birthday using date functions.

Relevant full tutorials:
Full video tutorial for this program:    • MATLAB: Calculate time to birthday/ev...  
Using the input function:    • MATLAB: Inputs and Outputs (fprintf) ...  
Using while loops to validate/error check user inputs:    • MATLAB: Coding while loops to validat...  


#MATLAB #learntocode #input #while #functions #engineering #engineeringcourses