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

Write a MATLAB function [d1, u1, l1, c1, r1] = NaiveGaussArrow(d, u, l, c, r) that takes as input the 5 vectors de ned above representing A. This function performs Naive Gauss redu

how can reconstruct just part of an image using imreconstruct?

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

Labels and Prompts: The script loads all the numbers from file into a row vector. It then splits the vector; it stores the initial element that is the experiment number in a v

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

Three-dimensional pie and bar: For the bar3 function, x & y vectors are passed and the function displays three-dimensional bars as shown in figure: Figure: Three-dimen

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

Example of Symbolic Expression When there is more than one variable, the MATLAB selects which to solve for. In the illustration below, the equation ax 2 + bx = 0 is solved. Th

Illustration of logical built-in functions: The function find returns the indices of a vector which meet certain criteria. For illustration, to find all the elements in a vect