Write a script called "multigraph.m" to create three separate figures. Each figure will contain a graph of one of the following equations:
z = (-xy^3) / (x^2 + y^2)
z = x*e^(-x^2 - y^2)
z = sin(sqrt(x^2 + y^2)) / sqrt(x^2 + y^2)Use the functions "surf", and "mesh" to complete this problem.
Your job in the portion of the assignment is to create a Matlab Rolodex. You will use a structure array to implement your rolodex. Each record in your rolodex will have the following information.
Create a function called "initializeRolodex()". This function will return a structure array with the following contents according to the specifications above:
| fname | lname | title | phone | |
| Jim | Craig | Lecturer | 5551234 | james.craig@ae.gatech.edu |
| David | Smith | Lecturer | 5552468 | dmsmith@cc.gatech.edu |
| Dan | Colestock | Lecturer | 5553690 | danc@cc.gatech.edu |
| Kevin | Morris | Head TA | 5558888 | kevin8gd@cc.gatech.edu |
| Daniel | Hegeman | STA | 5551111 | gtg702g@mail.gatech.edu |
| Kirk | Glazer | STA | 5552222 | gtg261b@mail.gatech.edu |
| Umair | Kayani | STA | 5553333 | gte236u@mail.gatech.edu |
Now provide three more functions to access and manipulate the data
Create a function called "rolodexSelect(R, field, value)". This function will look for a record in the structure array R with the contents of the specified field equal to the specified value and return the entire record or records in another struct array (all fields). If a record with the specified lname does not exist, return an empty array.
Create a function called "rolodexDelete(R, field, value)". This function should remove the records from R where the contents of the field are equal to the value. Return the updated structure array
Create a function called "rolodexInsert(R, fname, lname, title, phone, email)". Create a new record with the specified information and add it to R. Return the modified structure array.