Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What is the extension for M-files?
Think about the file format associated with MATLAB.
What do you call an M-file that runs a sequence of commands?
Consider how you would write a series of instructions.
What is the primary purpose of M-files in MATLAB?
Think about scripting vs command line.
Functions in MATLAB can accept:
Remember how functions are designed.
Develop a MATLAB script that reads numerical inputs representing grades from users and outputs the average grade, as well as the highest and lowest grades.
Think about how you would gather and process user data.
Create a function that converts kilometers to miles and back, utilizing user input to choose the direction of conversion.
Consider using conditionals to manage the conversion.
5 more questions in this section. Enroll free to practise them all.
Enroll free