Question: 7) Create a cell array with 5 rows and three columns. The first two columns should contain a first name and last name, respectively. The

 7) Create a cell array with 5 rows and three columns.
The first two columns should contain a first name and last name,

7) Create a cell array with 5 rows and three columns. The first two columns should contain a first name and last name, respectively. The final column should contain postcodes. The data should match the following table: cestr(biggest): f=count (biggest): 6) Write a script which converts mechanical horsepower (hp) to Watts (W). Note that 1 hp is equal to 745.7 W. The script should prompt the user to enter hp and return the answer in Win a sentence. hp=input("Enter hp : "); W=hp745.7; disp('The answer in Wis: , num2 str(W)]); 7) Create a cell array with 5 rows and three columns. The first two columns should contain a first name and last name, respectively. The final column should contain postcodes. The data should match the following table: First Name Last Name Postcode Andrew Aaronson 2400 Betty Brown 2400 Charles Copland 2450 Drew Dent 2400 Eric Eastaway 2469 Once your cell array is created, write code that will create a new cell array containing only people's names that have a postcode 2400. The code should contain a loop and an if statement and should work for any cell array in the given form with an unknown number of rows. Test your code with additional entries after Eric Eastaway. 0, 4 % 5 & 7 C 9 6 8 0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!