Forming scalars Which one is correct for assigning parameter
Forming scalars: Which one is correct for assigning parameter a as 2.5 ? > > 2.5 - a > > A = 2.5 > > a = 2.5 > > none of the above Forming scalars: Which one is correct? > > Terms 1 & 2 = 65 > > Terms 2 - 5 = 6 > > 2 Term = 7 > > none of the above Usage of square brackets: Which one is correct to form the vector of [1 10 100 1000]: [1 10 100 1000] [1 10 100 1000] [1 10 100 1000] Both a and b
Solution
1. c
>> a=2.5
2. d
Hint : Term2 = 7; it cannot start with number and . , & etc not allowed
3. d ---->Both a and b
Hint :-
>> a=[1,2,3]
a =
1 2 3
>> a=[1 2 3]
a =
1 2 3
>> a=[1;2;3]
a =
1
2
3
4. a---->2 by 3 matrix
5. d----->all of the above
