1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
amid [387]
3 years ago
10

Create a cell array, called A, with the following contents: a. Make a copy of A called B. (Nothing complicated: B = A is suffici

ent.) In B, change the ‘t’ in ‘Matlab’ to ‘T’ by accessing that element of the cell array. b. Make a character array C that contains ‘Simulink’, by extracting it from the cell array. c. Add a 3rd row to the matrix in B{2,1} with the numbers 4,7. (After this step, B{2,1} should be [3, 9; 8, 2; 4, 7].
Computers and Technology
1 answer:
Ivenika [448]3 years ago
7 0

Answer:

Following is created a cell array, called A with mentioned contents:

clc

clear all

close all

A={'Matlab' 'Simulink';[3,9;8,2] [2;8;5]};

B=A;

B{1,1}(3)='T'

C=A{1,2}

B{2,1}=[B{2,1};4,7]

Explanation:

Step-by-step explanation is as follows:

  1. Creation of A as required.         A={'Matlab' 'Simulink';[3,9;8,2] [2;8;5]};
  2. Making a copy of A called B.    B=A;    
  3. In B, change the ‘t’ in ‘Matlab’ to ‘T’ by accessing that element of the cell array.                                     B{1,1}(3)='T'
  4. Make a character array C that contains ‘Simulink’, by extracting it from the cell array.                             C=A{1,2}
  5. Add a 3rd row to the matrix in B{2,1} with the numbers 4,7. (After this step, B{2,1} should be [3, 9; 8, 2; 4, 7].

                                                            B{2,1}=[B{2,1};4,7]

You might be interested in
In 3-5 sentences, describe how you would insert a graph in your word-processing document.
Allisa [31]

Answer:

Click the “Insert” tab, then click the “Chart” button on the Illustrations section to open the “Insert Chart” pop-up window.

Select the type of graph to add to the document, such as a pie chart or bar graph. ...

Click “OK” and Word adds a chart with generic data points to the document.

Explanation:

3 0
3 years ago
Def pig_latin(word): """ ------------------------------------------------------- Converts a word to Pig Latin. The conversion is
Virty [35]

def pig_latin(word):

   if word[0].lower() in 'aeiou':

       word = word + 'way'

   else:

       t=''

       for x in range(len(word)):

           if word[x].lower() in 'aeiou':

               break

           if word[x].lower() == 'y' and x>0:

               break

           else:

               t+=word[x].lower()

       if word[0].isupper():

           word = word[len(t):]+word[:len(t)].lower()+'ay'

           word = word.title()

       else:

           word = word[len(t):]+word[:len(t)].lower()+'ay'

   return word

word = 'test'

pl = pig_latin(word)

print(pl)

I wrote my code in python 3.8. I hope this helps.

5 0
3 years ago
For your biology class, you have taken a number of measurements for a plant growth experiment. You wish to create a chart that s
Mamont248 [21]
Calc or excel
Hope this helps
4 0
3 years ago
Create a project for a sandwich shop. The project, named SalsSandwiches, allows a user to use a ListBox to choose a type of sand
nirvana33 [79]

Answer:

Create a new C# windows application with the name SalsSandwiches. Add the below code in respective file.

Explanation:

See attached images for the source code and output

7 0
3 years ago
Please answer fast computer picture above​
Bas_tet [7]

Answer:embedded computers are found in cats, appliances like light switches and voic actived tvs, security cameras, dvd players and elevators

Explanation:

5 0
2 years ago
Other questions:
  • Reputable firms often ask recent graduates to pay an up-front fee for a job.
    12·2 answers
  • Ben works at a top accounting firm in Salt Lake City and his responsibilities include developing individual and departmental goa
    9·1 answer
  • Change control in application development is a formal process for changing written documentation into online documentation, and
    13·1 answer
  • What component of a motherboard is not considered to be a field replaceable unit?
    12·1 answer
  • Complex communication skills will probably never be outsourced to a computer because they require the human touch.
    8·1 answer
  • How many arguments are required for the sum function?
    15·1 answer
  • Which of the following is true regarding packaged software and custom software? Group of answer choices Packaged software are ap
    13·1 answer
  • When using the Internet, it is important to know the validity of web page you are using. How can you know if the information is
    5·1 answer
  • Copyright laws protect:This task contains the radio buttons and checkboxes for options. The shortcut keys to perform this task a
    6·1 answer
  • One of your suppliers has recently been in the news. Workers complain of long hours, hot and stuffy workrooms, poor lighting, an
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!