MATLAB: Validated User Input - Day of Month

Опубликовано: 17 Март 2026
на канале: Engineering with Dr. Kelsey Joy
583
13

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/event (...  
Using the input function:    • MATLAB: Inputs and Outputs (fprintf)  for ...  
Using while loops to validate/error check user inputs:    • MATLAB: Coding while loops to validate use...  


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