Consider the screenshot of Octave script given in Figure 1, if "a" were to be a column vector with 100 random values in the range from -6 to 6 then what should be the values of x, y and z? a) Value of "y" should be b) Value of "x" should be c) Value of "z" should be

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter8: Arrays
Section: Chapter Questions
Problem 5GZ
icon
Related questions
Question

Consider the screenshot of Octave script given in Figure 1, if "a" were to be a column vector with 100 random values in the range from -6 to 6 then what should be the values of x, y and z?
a) Value of "y" should be 
b) Value of "x" should be 
c) Value of "z" should be 

test.m
1 x
?;
2 y = ?;
? ;
randi (x,y, z);
3 z
4 a
Transcribed Image Text:test.m 1 x ?; 2 y = ?; ? ; randi (x,y, z); 3 z 4 a
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Research
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT