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

Writing and Reading Spreadsheet Files: The MATLAB functions xlswrite & xlsread will write to and read from the spreadsheet files which have the extension .xls. For illustratio

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

Find Minimum and Maximum for each row To find the maximum (or minimum) for each row, the dimension of 2 (that is how a MATLAB refers to rows) can be identified as the third arg

Writing variables to a File: The save command is used to write variables to a file, or to append the variables to a MAT-file. By the default, save function writes to a MAT-fil

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

Differentiation: The derivative of a function y = f(x) can be written as follows or f  '(x) and is defined as the rate of change of the dependent variable y with respe

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

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.

Example of Logical built-in functions: For equivalent to all the function, we should make sure that the entire elements in the vector are logically true. The one way of doing