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
Refer the subset of a matrix: It is also possible to refer to the subset of a matrix. For illustration, this refers to the first & second rows, second & third columns: >> m

How do I write a product series running from i to n of x''s using a for loop?

Built-in function for Differentiation: The MATLAB has a built-in function, diff that returns the differences between consecutive elements in a vector. For illustration, >>

Example of Minimum and Maximum Value For matrices, the functions min and max operate column wise by the default: >> mat = randint(2,4,[1 20]) mat =    9   10   1

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

fprintf function - File function: The fprintf function really returns the number of bytes which was written to the file, therefore if you do not want to see that number, suppr

Function isreal - complex numbers: The function isreal returns 1 for logical true when there is no imaginary part of the argument, or 0 for false when the argument does have a

Histogram: The histogram is a particular type of bar chart which shows the frequency of occurrence of the values within a vector. The Histograms use what are known as bins to

Illustration of Standard Deviation The less spread out the numbers are, therefore smaller the standard deviation will be, as it is a way of determining the spread of the data.

Plot Functions: Faraway, we have plotted to generate two-dimensional plots and bar to generate bar charts. We have seen how to clear the Figure Window by using clf, and how to