adplus-dvertising
frame-decoration

Question

What is the output of the following code?
a=[1 2 3];
b=2;
a.\b;

a.

.5 1 1.5

b.

2 1 .67

c.

Error

d.

Cannot be determined

Posted under MATLAB

Answer: (b).2 1 .67

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of the following code?

Similar Questions

Discover Related MCQs

Q. Discrete time convolution is not possible in MATLAB.

Q. plot([0:1:8],[rectpulse(1,9)]’) and plot([0:1:8],ones(1,9)) will generate the same graph.

Q. If x(t-5)=0 for t<5 = A for t>=5, the signal is ___________

Q. The unit step response of an L.T.I. system is the convolution of a step signal and it’s ________

Q. What is the working of the conv2() command?

Q. The output of p=conv([ones(1,50)],[ones(1,100)]) and p=conv([ones(1,100)],[ones(1,50)]) are same.

Q. The signal get shifted by 1 units in time due to the following code: conv([ 1 2 3],[ 0 1 0 ]).

Q. For a causal L.T.I. system, the impulse response is 0 for _________

Q. The convolution of a discrete signal with itself is _________

Q. The convolution of a function with an impulse function delayed to an instant 3 in time results in ____________

Q. A continuous signal can be represented as the product of an impulse function and the signal itself.

Q. The R.O.C. of impulse function is _________

Q. The bilateral Z-transform ranges from ____________

Q. The R.O.C. of a unit step function is __________

Q. What is the relationship b/n laplace transform and z-transform of a function?

Q. If σ<0, the point in the z plane lies __ of the circle |z|=1.

Q. What is the T in the relation z=eˢᵀ?

Q. The Z-transform is only for discrete signals.

Q. The Z-transform doesn’t follow the linearity principle.

Q. The unit delay operator can be thought of in the z-domain as ___________