Page 1 of 1

What is value in the variable x after the following code run? n=length(x); while n>1 x= x(1:2:end); n = length(x); end A

Posted: Fri May 20, 2022 11:41 am
by answerhappygod
What Is Value In The Variable X After The Following Code Run N Length X While N 1 X X 1 2 End N Length X End A 1
What Is Value In The Variable X After The Following Code Run N Length X While N 1 X X 1 2 End N Length X End A 1 (39.87 KiB) Viewed 51 times
What is value in the variable x after the following code run? n=length(x); while n>1 x= x(1:2:end); n = length(x); end A. the last value in the original vector X B. the first value of the original vector C. an empty vector, D. the size of the original vector X