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]
3 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]3 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
Write and test a Python program to find and print the largest number in a set of real (floating point) numbers. The program shou
fenix001 [56]

I can't read oooooyeaaaa

3 0
3 years ago
Suppose you want to delete an existing file from within Word. What would you do? A. Click on the File button, choose Recent, ope
koban [17]
The asnwer would be A
7 0
3 years ago
What is another term for technology?
AysviL [449]
telecommunications is just one other term. there's also industrial science or automation
4 0
3 years ago
What will be the output of “AAAAMMMMMHHHVV” using a file compression technique?
jeka94

Answer:

it would be amhv i think i hope it answered u'er question

Explanation:

8 0
3 years ago
Tim is in charge of the upcoming interschool baketball tournamnent. He wants to arrange all of the teams and their members in al
zalisa [80]
I think the answer is C.
7 0
2 years ago
Other questions:
  • To create a digital file from an old photo, I would use a _____.
    10·1 answer
  • Software can be distributed on the web. <br> a.true <br> b.false
    12·1 answer
  • Jerry is making an address book using a digital database. He has a list of his immediate family and friends but wants to add a f
    9·2 answers
  • What natural resource are available on the coast but not somewhereelse
    13·1 answer
  • Most 4 year colleges want an applicant's scores for all the following except
    12·1 answer
  • Hi everyone,
    6·1 answer
  • Of the following online activities, identify the TWO that are most likely to be affected by bandwidth quality
    11·1 answer
  • Difference between statement x=+5 and x+=5​
    7·1 answer
  • PLEASE HELP!! WILL MARK BRAINLIEST!!
    15·1 answer
  • Which option is typically only used when utilizing self joins?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!