You are on page 1of 1

Tutorial 4

Question 1

Write a program with 3 input data (i.e. x, y and n) to calculate z = n (x + y).

a. Use a script or command M-file


b. Use a function M-file
c. Use a figure based (text based) graphical user interface (GUI) as shown below.

You might also like