.. Identify the solid shape for the below given nets:
(a)
(b)
pls ans
Answers
Answer:
The "min" and "max" functions in MATLAB return the index of the minimum and maximum values, respectively, as an optional second output argument.
For example, the following vector 'M' that contains the maximum value of each column of 'A', which is 3 for the first column and 4 for the second column. Additionally, 'I' is a row vector containing the row positions of 3 and 4, which are 2 and 2, since the maximums for both columns lie in the second row.
Theme
A = [1 2; 3 4];
[M,I] = max(A)
For more information on the 'min' and 'max' functions, see the documentation pages listed below:
https://www.mathworks.com/help/matlab/ref/max.html
https://www.mathworks.com/help/matlab/ref/min.html
To find the indices of all the locations where the maximum value (of the whole matrix) appears, you can use the "find" function.
https://www.mathworks.com/help/matlab/ref/find.html
Theme
maximum = max(max(A));
[x,y]=find(A==maximum)