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
The procedures for doing hypothesis testing of proportions and hypothesis testing of means are similar, but what is one of the differences they have ?
The p-value is the probability of a statistic being at most as extreme as the observed value when Ho is false. the probability that the alternative hypothesis is true. O the probability that the null hypothesis is true. O the probability of a statistic being at most as extreme as the observed value when Ho is true. O the probability of a statistic being at least as extreme as the observed value when Ho is true.
Why the correct answer in 9b is 1/150? What is the solution to the answer?
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