adplus-dvertising
frame-decoration

Question

What is the class of the variable r after the following code is run?
r=rand(1,4,’double’)

a.

Array

b.

Single

c.

Double

d.

Integer

Posted under MATLAB

Answer: (a).Array

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 class of the variable r after the following code is run?