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
timurjin [86]
4 years ago
10

Write a MATLAB program to accomplish the following: Create two vectors, a and b, where vector a contains all positive integers l

ess than 100 that are evenly divisible by 10, and b contains all positive, even integers greater than 0 and less than or equal to 18. Divide the values in vector a, element by element, by the values in vector b, and assign the result to vector c. Square all the elements of vector c and then subtract 19 from every squared element of c. Assign the result to vector d. ONLY display the values of c, and d in the Command Window.
Computers and Technology
1 answer:
sattari [20]4 years ago
3 0

Answer:

Explanation:

Below is the complete MATLAB code that performs the given operations.

a = 10:10:99 % Generating first vector

b = 2:2:18  % Generating 2nd vector

c = rdivide(a,b) % Dividing vector a by b and storing in c

d = times(c,c) -19 % Subtracting 19 from each element of vector c

c % Displaying value of c

d % Displaying value of d

Output screenshot

C =

 5 5 5 5 5 5 5 5 5

d =

6 6 6 6 6 6 6 6 6

You might be interested in
Ryan is looking to buy a new HDTV set. He knows from friends that LCD set screens reflect less light than plasma set screens, bu
lbvjy [14]

Answer: Cognitive

Explanation:

 According to the question, the Ryan shows cognitive attitude towards the HDTV. The cognitive component basically refers to the three main components that are:

  • Thoughts
  • Beliefs
  • Attributes

The cognitive component is one of the type of attitude which basically consist of various types of thoughts, knowledge and the beliefs towards the any type of object. It is one of the belief and opinion of the attitude.  

3 0
3 years ago
_________ is the start up sequence a computer conducts.
Travka [436]

Answer:

Booting

Explanation:

Booting is the start up sequence a computer conducts when it is being turned on. The booting is done by the operating system. The booting process is usually started when a hardware on the computer is pressed or by a software command. For a windows computer, the BIOS is used to start the booting sequence. These boot sequence is called boot order or BIOS boot sequence.

6 0
4 years ago
Wireless internet is an example of telecommunications.
lawyer [7]
Anything is telecommunication if it has a <span>transmitter</span> and receiver. If you're a Host, then you're hosting (Transmitting) a connection. If you have a router as a customer or service, then you're receiving their signal (transmitting). You're the receiver. 
7 0
3 years ago
What is the use of an NDP?
Makovka662 [10]

Answer:

It defines five ICMPv6 packet types for router solicitation,router advertisement,neighbor solicitation,neighbor advertisement,and network redirects.

Explanation:

8 0
3 years ago
Join array elements to form a string.
Vera_Pavlovna [14]

Answer:

2b2t

Explanation:

2b2t

3 0
3 years ago
Other questions:
  • My window key dont work and I dont have a fn button, what can I do?<br> PLS help me.
    12·1 answer
  • Which signal types are represented by a continuous waveform?
    10·1 answer
  • The political spectrum spans from Communism on the extreme left to __________ on the extreme right. /8178757/1f6bdbf3?utm_source
    6·2 answers
  • What do you do to add a line or circle to your presentation?
    7·2 answers
  • How to write (c program) code for 30/4 = 7.5. It should print 7.5, not 7
    12·1 answer
  • Algorithms for solving perimeter of a rectangle
    12·1 answer
  • What information will you find in the 16-bit field in an IP datagram?
    7·1 answer
  • Ishmael would like to capture a selected potion of his screen and then capture action he performs on that selected portion. What
    5·1 answer
  • During slide show mode, hitting the B key will do which of these things? end your presentation move back one page move to the fi
    15·1 answer
  • In your aws vpc, you need to add a new subnet that will allow you to host a total of 20 ec2 instances. which ipv4 cidr block wou
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!