(5/5)

Hire Me
(5/5)

Hire Me
(5/5)

Hire Me
(5/5)

Hire Me
(5/5)

# section is about combining strings with numbers which we use for asset names in finance and making sense of output matrices.

INSTRUCTIONS TO CANDIDATES

2 Structure Variables and Cell Arrays

This section is about combining strings with numbers - which we use for asset names in finance and making sense of output matrices.

2.1

Create some variables with the following code.

vari-('F:AC', 'U: IBM'}; var2-[1:9]:

var3-[1,2,3,4,5,6,7,8,9];

Put each of these variables into a structure variable called mat. Required: mat should have 3 parts to it, with each name based on the corresponding variable.

2.2

Put each of the variables from question (2.1) directly into a cell array called matcell. Required: matcell should have 3 parts to it (make 3 rows and 1 column). Hint: size (matcell) should be 3 1.

2.3

Let rans1 = what would be the result of var2+ reshape(var3, 1, 9). Required: Get the numbers for var2 by directly referencing mal and get those from var3 by directly referencing matcell.

2.4

Create three new variables with the following code.

Townames {; '2002; 2003; 2004'}; colnames-'Nasdaq Stock', 'LSE Stock');

prices-[12,110;11,109:6,105]:

(5/5)

## Related Questions

##### . The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

##### . Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

##### . The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

##### . Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

##### . The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme

Get Free Quote!

429 Experts Online