subject
Engineering, 25.02.2020 16:43 someone2301

Write a user-defined MATLAB function that determines the unitvector in the direction of the line that connects two points (A andB) in space. For the function name and arguments use "n =unitvec(A, B). The input to the function are two vectors A andB, each of which has three elements which are the Cartesiancoordinates of the corresponding point. The ouput is a vectorwith the three components of the unit vector in the direction fromA to B. Use the function to determine the following unitvectors:
(a) In the direction from point (1.5,2.1,4) to point(11,15,9).
(b) In the direction from point (-11,3,-2) to point(-13,-4,-5).
(c) In the direction from point (1,0,1) to point (0,1,1).

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
The thermal expansion or contraction of a given metal is a function of the f a)-density b)-initial temperature c)- temperature difference d)- linear coefficient of thermal expansion e)- final temperature f)- original length
Answers: 2
question
Engineering, 04.07.2019 18:10
Shafts are machine elements that are used to a) carry axial loads b) direct shear loads c) transmit power d) rotate at constant speed e) none of the above circular and square shafts subjected to the same torque under the same circum behave a) the same way b) almost the same way
Answers: 2
question
Engineering, 04.07.2019 18:20
Have a greater impact on maintenance productivity than any other support group. (clo5) a)-the top management b)-inventory and purchasing c)-sub-contracting d)-cmms
Answers: 2
question
Engineering, 04.07.2019 18:20
Ahe-xe mixture containing a 0.75 mole fraction of helium is used for cooling electronics in an avionics application. at a temperature of 300 k and atmospheric pressure, calculate the mass fraction of helium and the mass density, molar concentration and molecular weight of the mixture. if the cooling capacity is 10 l, what is the mass of the coolant?
Answers: 3
You know the right answer?
Write a user-defined MATLAB function that determines the unitvector in the direction of the line tha...
Questions
question
Mathematics, 14.03.2020 00:26
question
Mathematics, 14.03.2020 00:26
question
English, 14.03.2020 00:26
question
Mathematics, 14.03.2020 00:26
question
Mathematics, 14.03.2020 00:26
Questions on the website: 13722367