How can we sort the elements of the array in descending order in Wipro?
Submitted by: MuhammadSyntax
B = sort(A)
B = sort(A,dim)
B = sort(...,mode)
[B,IX] = sort(A,...)
Description
B = sort(A) sorts the elements along different dimensions of an array, and arranges those elements in ascending order.
If A is a ... sort(A) ...
Vector Sorts the elements of A.
Matrix Sorts each column of A.
☼ Multidimensional array Sorts A along the first non-singleton dimension, and returns an array of sorted vectors.
☼ Cell array of strings Sorts the strings in ascending ASCII dictionary order, and returns a vector cell array of strings. The sort is case-sensitive; uppercase letters appear in the output before lowercase. You cannot use the dim or mode options with a cell array.
Submitted by: Muhammad
B = sort(A)
B = sort(A,dim)
B = sort(...,mode)
[B,IX] = sort(A,...)
Description
B = sort(A) sorts the elements along different dimensions of an array, and arranges those elements in ascending order.
If A is a ... sort(A) ...
Vector Sorts the elements of A.
Matrix Sorts each column of A.
☼ Multidimensional array Sorts A along the first non-singleton dimension, and returns an array of sorted vectors.
☼ Cell array of strings Sorts the strings in ascending ASCII dictionary order, and returns a vector cell array of strings. The sort is case-sensitive; uppercase letters appear in the output before lowercase. You cannot use the dim or mode options with a cell array.
Submitted by: Muhammad
Read Online Wipro Job Interview Questions And Answers
Top Wipro Questions
☺ | Some of the interview questions asked by the HR team of Wipro are as follows: - |
☺ | Wipro technology and Outsourcing Company Introduction |
☺ | When you are attending to a multinational company like Wipro |
☺ | Many of the candidates appearing for WIPRO fail to pass through the Technical interview due to lack of basics. |
Top Companies Job Categories
☺ | TCS Interview Questions. |
☺ | Infosys Interview Questions. |
☺ | IBM Interview Questions. |
☺ | Wipro Interview Questions. |
☺ | Google Interview Questions. |