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
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

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

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

Plot types: Besides plot and bar, there are another plot types like stem plots, histograms, stem plots, area plots and pie charts, and also other functions which customize the

Program of built-in factorial function: Calling this function yields similar result as the built-in factorial function: >> fact(5) ans =   120 >> factorial(

Illustration of Variance For illustration, for the vector [4, 6, 1, 5], there are n = 4 values therefore n - 1 is 3. The mean of this data set is also 4. The variance will be

User input in the while loop: Here is an illustration of running this script: >> readonenum Enter a positive number: -5 Invalid! Enter a positive number: -2.2

Illustration of Minimum and Maximum Value Both of these functions also return the index of the minimum or maximum value; when there is more than one occurrence, it returns the

how can reconstruct just part of an image using imreconstruct?

Logical Vectors: The relational operators can also be used with the vectors and matrices. For illustration, let's say that there is a vector, and we want to compare each eleme