Manuals/calci/MIDN
Jump to navigation
Jump to search
MIDN(Array, n, fromX)
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Array} is the set of elements in an array
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n} is the number of middle elements of a given array to be displayed
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle fromX} is the number of elements to be skipped after the first element
Description
- MIDN() function is used to display the mentioned number of values in an array, skipping the specified number of elements from the first element.
- First element of an array is displayed. Remaining Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n-1} values are displayed after skipping the Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle fromX} elements from the array.
- Argument Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Array} can be text, numbers, or any special characters like @,&...
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Array} should be entered in double quotes("") for text and special characters.
- Argument Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n} should be a positive number less than or equal to the number of values in array. Count with decimal value is rounded to nearest integer.
- For Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n} greater than number of elements in array, or negative value, Calci displays first element of array.
Examples
- MIDN([1,9,15,34,22,6,7,43,21,99],4,2) = 1 34 22 6
- MIDN(1..20,5,4) = 1 6 7 8 9
- MIDN([200,300,400,500,600,700],1.6,1) = 200 400
- MIDN(["name","address","pin"],1/3) = name
- MIDN(1..5,-2) = 1
- MIDN(1..5,7) = 1
Related Videos
See Also
References