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