M Man Ly New member Sep 19, 2021 #1 What will be the output when the following code is written in MATLAB? Code: u=sin(10);v=pi;whos A. u and v are double with 8 bytes B. u and v are symbolic objects C. error D. u and v are double arrays
What will be the output when the following code is written in MATLAB? Code: u=sin(10);v=pi;whos A. u and v are double with 8 bytes B. u and v are symbolic objects C. error D. u and v are double arrays
Đ Đạt Michio New member Sep 19, 2021 #2 Answer: a Explanation: ‘sin 10’ and ‘pi’ are numeric values which will be generated as double data type in MATLAB. Output: Name Size Bytes Class Attributes u 1x1 8 double v 1x1 8 double Upvote 0 Downvote
Answer: a Explanation: ‘sin 10’ and ‘pi’ are numeric values which will be generated as double data type in MATLAB. Output: Name Size Bytes Class Attributes u 1x1 8 double v 1x1 8 double