1 Which command would find the MATLAB function that calculat
1.) Which command would find the MATLAB function that calculates the median of a vector?
A. doc median B. clc C. lookfor ‘median’ D. help ‘median’
2.)
typedef struct circle {
Please write the statement needed to declare and initialize a structure of type Circle. The radius is 5, center x coordinate is 3.5, and center y coordinate is -5.2. Remember this requires only one line.
Solution
1). help \'median\' command will find the documentation needed regarding median command.
2).
typedef struct circle {
double radius=5, center_x=3.5, center_y=-5.2;
} Circle;
