Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
[15ECP305D]
KARPAGAM UNIVERSITY
KARPAGAM ACADEMY OF HIGHER EDUCATION
14. Which of the following is used to see if two elements are not equal in MATLAB?
a) !=
b) ==
c) isequal
d) =
15. When used in the fprintf command, the \n is used to
a)add a space between any two characters b) add a line space (enter key)
c) place a number into the comment
d)clear the comment
16. When used in the fprintf command, the %g is used as the
a)single character display
b)fixed point display
c)string notation display
d)default number display
17. The num2str command
a) Converts a number to string
b)converts string to a number
c) concatenates numbers and strings
d)concatenates strings
18. _________ function returns a standard error message
a) ndgrid
b) nargchk
c) prod
d) diff.
19. The Shortcut is used to display the data result is
a) disp()
b) ;
c):
d)%
20. which of the following has highest precedence in matlab.
a) +
b) c) ()
d)*
PART B (3 X 10=30 Marks)
Answer THREE Questions
21. a) Describe Binary I/O functions in matlab.
or
b) Explain about formatted I/O functions with suitable examples.
22. a) Explain how to create user menus in matlab GUI with an example.
or
b) Explain the following
i) Popup Menus
ii) Textboxes
23. a) Explain about how to select the objects in matlab GUI.
or
b) Write notes on the components of Graphical user interface system in matlab.