Question: Using MatLab: The createEntry function is used as a constructor function to create an entry. It accepts four parameters and return a new contact entry.
Using MatLab:
The createEntry function is used as a constructor function to create an entry. It accepts four parameters and return a new contact entry. Based on the following function call usage, provide the createEntry function.

>>fname-"Fred"; lname-"Jones" phone-"123-456-7890" date.year-1986; date . month=" Feb. " ; date. day= 9; birthday-date ; newEntry=createEntry (fname ,lname , >> phone , birthday) newEntry = struct with fields: fname: "Fred" lname: "Jones'" phone: "123-456-7890" birthday: [1x1 struct]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
