MATLAB: A Practical Introduction to Programming and Problem Solving
MATLAB: A Practical Introduction to Programming and Problem Solving
5th Edition
ISBN: 9780128154793
Author: Stormy Attaway Ph.D. Boston University
Publisher: Elsevier Science
bartleby

Concept explainers

bartleby

Videos

Question
Book Icon
Chapter 14, Problem 14.1P
To determine

To find:

The minimum, maximum, arithmetic mean, variance, mode, median, harmonic mean and geometric mean for the vector [24838].

Expert Solution & Answer
Check Mark

Answer to Problem 14.1P

Solution:

The required answers are stated as follows.

Explanation of Solution

MATLAB Code:

vector = [2 4 8 3 8];

minimum = min(vector)

maximum = max(vector)

mean_value = mean(vector)

variance_value = var(vector)

mode_value = mode(vector)

median_value = median(vector)

harmonic_mean = harmmean(vector)

geometric_mean = geomean(vector)

Save the MATLAB files with name, chapter14_54793_14_1P.m in the current folder. Execute the file by typing the name at the command window to generate output.

Result:

The result is,

MATLAB: A Practical Introduction to Programming and Problem Solving, Chapter 14, Problem 14.1P , additional homework tip  1

MATLAB: A Practical Introduction to Programming and Problem Solving, Chapter 14, Problem 14.1P , additional homework tip  2

Therefore, the result is stated above.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
Please help me with this question on statistics
Please help me with this statistics question
Please help me with the following statistics questionFor question (e), the options are:Assuming that the null hypothesis is (false/true), the probability of (other populations of 150/other samples of 150/equal to/more data/greater than) will result in (stronger evidence against the null hypothesis than the current data/stronger evidence in support of the null hypothesis than the current data/rejecting the null hypothesis/failing to reject the null hypothesis) is __.
Knowledge Booster
Background pattern image
Statistics
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Holt Mcdougal Larson Pre-algebra: Student Edition...
Algebra
ISBN:9780547587776
Author:HOLT MCDOUGAL
Publisher:HOLT MCDOUGAL
Text book image
Linear Algebra: A Modern Introduction
Algebra
ISBN:9781285463247
Author:David Poole
Publisher:Cengage Learning
Text book image
Glencoe Algebra 1, Student Edition, 9780079039897...
Algebra
ISBN:9780079039897
Author:Carter
Publisher:McGraw Hill
Text book image
Big Ideas Math A Bridge To Success Algebra 1: Stu...
Algebra
ISBN:9781680331141
Author:HOUGHTON MIFFLIN HARCOURT
Publisher:Houghton Mifflin Harcourt
Text book image
Functions and Change: A Modeling Approach to Coll...
Algebra
ISBN:9781337111348
Author:Bruce Crauder, Benny Evans, Alan Noell
Publisher:Cengage Learning
The Shape of Data: Distributions: Crash Course Statistics #7; Author: CrashCourse;https://www.youtube.com/watch?v=bPFNxD3Yg6U;License: Standard YouTube License, CC-BY
Shape, Center, and Spread - Module 20.2 (Part 1); Author: Mrmathblog;https://www.youtube.com/watch?v=COaid7O_Gag;License: Standard YouTube License, CC-BY
Shape, Center and Spread; Author: Emily Murdock;https://www.youtube.com/watch?v=_YyW0DSCzpM;License: Standard Youtube License