Fond minimum and maximum value in data set, MATLAB in Mathematics

Minimum and Maximum Value

The MATLAB has built-in functions for numerous statistics. For illustration, min and max to find the minimum or maximum value in a data set.

>> x = [9 10 10 9 8 7 3 10 9 8 5 10];

>> min(x)

ans =

    3

>> max(x)

ans =

    10

Posted Date: 10/22/2012 6:53:12 AM | Location : United States







Related Discussions:- Fond minimum and maximum value in data set, Assignment Help, Ask Question on Fond minimum and maximum value in data set, Get Answer, Expert's Help, Fond minimum and maximum value in data set Discussions

Write discussion on Fond minimum and maximum value in data set
Your posts are moderated
Related Questions
Creating Customized strings: There are many built-in functions which create customized strings, including blanks, char, and sprintf. We know that the char function can be u

Symbolic Expression The solve function solves an equation and returns the solution(s) as symbolic expressions. The answer can be converted to numbers by using any numeric funct

Concatenation: The String concatenation means to join the strings altogether. Of course, as strings are merely vectors of the characters, the technique of concatenating vector

Illustration of Spreadsheet Files: This reads the numbers in a double vector variable nums and the text in a cell array txt (the xlsread function forever returns the numbers f

sprintf function: The sprintf function works precisely like the fprintf function, but rather than printing it generates a string. Here are some illustrations in which the outp

strvcat function - concatenation: The function strvcat will concatenate it vertically, that means that it will generate a column vector of the strings.   >> strvcat(fir

Print an imaginary number: To print an imaginary number, the function disp will show both parts automatically: >> disp(z1)    4.0000 + 2.0000i The function fprint

Creating string Variables: The string consists of a few numbers of characters (including, possibly, none). These are the illustrations of the strings: '' 'x' 'ca

Illustration of Labels and prompts: The program below prompts the user for endpoints (x1, y1) and (x2, y2) of a line segment, and computes the midpoint of the line segment, th

Illustration of Writing to files: Here is the other illustration in which a matrix is written to a file. At First, an arbitrary 2 × 4 matrix is generated, and then it is writt