

InterviewSolution
Saved Bookmarks
1. |
How do you create a function file in MATLAB?(a) Begin m-file with function definition(b) Begin script file with function definition(c) There is no such thing called function file(d) An m-file is only a function fileThe question was posed to me during an internship interview.I would like to ask this question from M-Files in division Interacting with MATLAB of MATLAB |
Answer» RIGHT option is (a) Begin m-FILE with function definition For explanation: If an m-file starts with a function definition, it becomes a function file. This file can be called to generate a desired output multiple times. As MATLAB allows the MAKING of such files, complicated big programs can be broken down to simplify the nature of the ENTIRE MATLAB program. |
|