Q1. I5 pointsl Solve the following problems: Create a variable c that is a colum
ID: 3729130 • Letter: Q
Question
Q1. I5 pointsl Solve the following problems: Create a variable c that is a column vector with the following elements 2·1x 10-2 , sin( 1.77) , 28.5, 2.74/3, and e3. Create a variable d that is a column vector with the following elements 0.75 × 5.207, I 1.160, tan(10 / 1 1 ) , cos" 5, and 0.1 16. Create two column vectors T- [5:5:25]' and S- [27:2:33]. Then, by only using the name of the vectors (T and S), create a column vector R that is made from the elements of T followed by the elements of s. Create the following vector by using the linspace command. Do not type individual elements explicitly. Create the following matrix by typing one command. Do not type individ- ual elements explicitly. 1 1Explanation / Answer
If you post more than 1 question, as per chegg guidelines I have to solve only 1 question and if you post more than 4 parts in a question, as per chegg guidelines I have to solve only 4 parts.
Ques 1.
(A)
[ 2.1 * ( 10^-2 ) , sin(1.7 * pi) , 28.5 , 2.7 ^ ( 4 / 3 ) , exp(3) ]
(B)
d = [ 0.75 * ( 5.2 ^0.7 ) ; 11.1 ; 60 ^ ( 1 / 3 ) ; tan( 10 * pi / 11 ) ; cos( 5 * pi / 180 ) ^ 2 ; 0.116 ]
(C)
T = [ 5 : 5 : 25 ]';
S = [ 27 : 2 : 33 ]';
[ T ; S ];
(E)
[ ones(1,4) ; ones(1, 4) ; ones(1, 4) ; 8 : -2 : 2 ]
ones(1, 4) returns a vector of size 4 with each element 1.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.