Question: I need help in MATLAB...... ACTWT13.8.1: Finding a substring Guest list. This tool is provided by a third party. Though your activity may be recorded,
I need help in MATLAB......

ACTWT13.8.1: Finding a substring Guest list. This tool is provided by a third party. Though your activity may be recorded, a page refresh may be needed to fill the banner Finding a substring: Guest list Write a I function isGuest to determine if a name is on the guest list of an event. The function should operate independent of upper or A string array contains the ques If there are mu le entries of the same name, a single logical ust be retumed For example: >>guestlist=("Benjamin","Harold", >isGuest( benjanin",guestlist) "Delphia", "Benjamin", "Lovie. "Ena"); logical Restriction: The function isGuest must use the functions contains and any Your Function Save C Reset B MATLAB Documentation 1 function onList isGuest (guestName, guestList) % Insert code here 5 end Assessment Code to call your function 1 guestlist-[ Benjamin", "Harold", "Delphia" "Benjamin", Lovie", "Ena"]; 2 isGuest("benjamin", guestlist) isGuest("Benjamin". I"Harold", "Delphia", "Benjamin", "Lovie", "Ena") returns true isGuest"Madeline", [Harold", "Delphia", "Benjamin", "Lovie", "Ena"]) returns false it should return(all) isGuest/"Lovie", ["Harold", "Delphia", "Benjamin", "Lovie", "Lovie"]) returns true isGuest"DELPHIA"["Harold", "Delphia", "Benjamin", "Lovie", "Lovie"]) returns true Are the functions contains and any used
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
