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
True or false: Quality score is an algorithm that scores each of your search ads on spelling and grammar.
andrew11 [14]
True or false: Quality score is an algorithm that scores each of your search ads on spelling and grammar.

Answer: False

I think sorry
4 0
2 years ago
Helpppp plsssss!!!<br><br>thanks.
sattari [20]
I believe the answer is A
6 0
3 years ago
Who plays warzone im a roze sweat and ill try to carry with loadout
alexira [117]

Answer:

I type play warzone- If u wanna add me my user is Chachee_Girl. Dont ask- and im on ps5

8 0
2 years ago
The geographic coordinate system is used to represent any location on Earth as a combination of latitude and longitude values. T
Pachacha [2.7K]

Answer:

Here is the script:  

function dd = functionDMS(dd)  

prompt= 'Enter angle in DD form ';

dd = input(prompt)

while (~checknum(dd))

if ~checknum(dd)

error('Enter valid input ');

end

dd = input(prompt)

end  

degrees = int(dd)

minutes = int(dd - degrees)

seconds = ( dd - degrees - minutes / 60 ) * 3600  

print degrees

print minutes

print seconds

print dd

Explanation:

The script prompts the user to enter an angle in decimal degree (DD) form. Next it stores that input in dd. The while loop condition checks that input is in valid form. If the input is not valid then it displays the message: Enter valid input. If the input is valid then the program converts the input dd into degrees, minutes and seconds form. In order to compute degrees the whole number part of input value dd is used. In order to compute the minutes, the value of degrees is subtracted from value of dd. The other way is to multiply remaining decimal by 60 and then use whole number part of the answer as minutes. In order to compute seconds subtract dd , degrees and minutes values and divide the answer by 60 and multiply the entire result with 3600. At the end the values of degrees minutes and seconds are printed. In MATLAB there is also a function used to convert decimal degrees to degrees minutes and seconds representation. This function is degrees2dms.

Another method to convert dd into dms is:

data = "Enter value of dd"

dd = input(data)

degrees = fix(dd);

minutes = dd - degrees;

seconds = (dd-degrees-minutes/60) *3600;

8 0
3 years ago
Case Project 9-4: Troubleshoot an IP configurationYou work at a help desk and have just received a call from an employee who say
Svetllana [295]

Answer:

To get the IP address and other information on the workstation, type 'ipconfig' for windows or 'ifconfig' or Linux and press the return key.

The subnet mask is a class B type and 169.254.14.11 IP address shows that the workstation cannot access the DHCP server, so the IP address is not properly configured for network connection.

Explanation:

A computer network is an interconnection and intercommunication of two or more computer devices. All devices in a network must have an IP address, which can be static or dynamic from a DHCP server.

When a computer is configured to receive IP address from a DHCP server, but cannot reach the server, the IP address from the range of 169 is automatically assigned to it but still would not be able to communicate with other devices in the network.

4 0
2 years ago
Other questions:
  • How many much memory is in one megabyte ?
    9·1 answer
  • Joe always misspelled the word calendar what function corrects the word
    12·2 answers
  • Draw a circuit with a 12-volt battery, a 100 ohms resistor in series, and two resistors (each of value 200 ohms) in parallel. Wh
    9·1 answer
  • At the start of the school year, Brianna’s history teacher announces that students’ final grades will be weighted based on how t
    8·2 answers
  • Write, in your own words, a one-two paragraph summary on the Running Queries and Reports tutorials. Apply critical thinking and
    10·1 answer
  • What makes a source credible?
    9·2 answers
  • Your project will require a 7-day work week rather than the traditional 5-day. How can you adapt the software to this new schedu
    15·1 answer
  • Which external reference is formatted correctly?
    6·2 answers
  • Explain why a holiday on a cruise liner will be an ideal holiday​
    12·1 answer
  • ____ characterized the period now known a Web 1. 0. Augmented reality
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!