New User Special Price Expires in

Let's log you in.

Sign in with Facebook


Don't have a StudySoup account? Create one here!


Create a StudySoup account

Be part of our community, it's free to join!

Sign up with Facebook


Create your account
By creating an account you agree to StudySoup's terms and conditions and privacy policy

Already have a StudySoup account? Login here

Data Analysis and Visua MATLAB

by: Mireya Heidenreich

Data Analysis and Visua MATLAB CS 1173

Mireya Heidenreich
GPA 3.55

Kay Robbins

Almost Ready


These notes were just uploaded, and will be ready to view shortly.

Purchase these notes here, or revisit this page.

Either way, we'll remind you when they're ready :)

Preview These Notes for FREE

Get a free preview of these Notes, just enter your email below.

Unlock Preview
Unlock Preview

Preview these materials now for free

Why put in your email? Get access to more of this material and other relevant free materials for your school

View Preview

About this Document

Kay Robbins
Class Notes
25 ?




Popular in Course

Popular in ComputerScienence

This 1 page Class Notes was uploaded by Mireya Heidenreich on Thursday October 29, 2015. The Class Notes belongs to CS 1173 at University of Texas at San Antonio taught by Kay Robbins in Fall. Since its upload, it has received 22 views. For similar materials see /class/231372/cs-1173-university-of-texas-at-san-antonio in ComputerScienence at University of Texas at San Antonio.

Similar to CS 1173 at UTSA

Popular in ComputerScienence


Reviews for Data Analysis and Visua MATLAB


Report this Material


What is Karma?


Karma is the currency of StudySoup.

You can buy or earn more Karma at anytime and redeem it for class notes, study guides, flashcards, and more!

Date Created: 10/29/15
CS 1173 Statistical indicators 11208 A 2 4 2 3 5 1 4 3 and B 1 2 2 1 5 4 1 3 and C NaN 2 NaN 3 are three MATLAB variables representing sets of measurements used in the examples below Let D be a MATLAB matrix that has 4 rows and 3 columns Let X x1 x2 x3xn represent a general set of n measurements that we will use in our formulas 1 The average or mean measures the central tendency of a set of numbers To calculate the average add the values and divide by the number of values The average ofx is x xk Example 1 The average of A is 2 4 2 3 5 1 4 38 3 H The MATLAB function for average is called mean Example 2 meanD 1 or meanD is the column mean of D It is a single row of 3 values Example 3 meanD 2 is the row mean of D It is a single column of4 values Example 4 meanA is the mean of A For vectors you never need the second parameter and the result is always a single number Example 5 The mean of the entire array D is meanD Here we use the linear representation of D to extract a single value Example 6 meanC is NaN The MATLAB returns NaN results if any of the values in the vector are NaN The MATLAB function nanmean computes the average by completely ignoring the NaNs 2 The median is another measure of central tendency In contrast to the average the median is not heavily influenced by outliers When the average and the median are far apart in value you can surmise that there must be some outliers in the data To calculate the median sort the values and take the middle one If the number of items is even average the middle two values Example 7 sortA is 1 2 2 2 3 3 4 5 The average of the middle two values is 2 32 25 The MATLAB function for computing the median is called median The median function follows the same rules as the mean function The MATLAB function nanmedian computes the median by completely ignoring the NaNs 3 The mode is the value most frequently appearing in the data This value may not be unique Example 8 The mode of B is 1 while the mode of A has two most frequent values 2 and 4


Buy Material

Are you sure you want to buy this material for

25 Karma

Buy Material

BOOM! Enjoy Your Free Notes!

We've added these Notes to your profile, click here to view them now.


You're already Subscribed!

Looks like you've already subscribed to StudySoup, you won't need to purchase another subscription to get this material. To access this material simply click 'View Full Document'

Why people love StudySoup

Bentley McCaw University of Florida

"I was shooting for a perfect 4.0 GPA this semester. Having StudySoup as a study aid was critical to helping me achieve my goal...and I nailed it!"

Jennifer McGill UCSF Med School

"Selling my MCAT study guides and notes has been a great source of side revenue while I'm in school. Some months I'm making over $500! Plus, it makes me happy knowing that I'm helping future med students with their MCAT."

Jim McGreen Ohio University

"Knowing I can count on the Elite Notetaker in my class allows me to focus on what the professor is saying instead of just scribbling notes the whole time and falling behind."

Parker Thompson 500 Startups

"It's a great way for students to improve their educational experience and it seemed like a product that everybody wants, so all the people participating are winning."

Become an Elite Notetaker and start selling your notes online!

Refund Policy


All subscriptions to StudySoup are paid in full at the time of subscribing. To change your credit card information or to cancel your subscription, go to "Edit Settings". All credit card information will be available there. If you should decide to cancel your subscription, it will continue to be valid until the next payment period, as all payments for the current period were made in advance. For special circumstances, please email


StudySoup has more than 1 million course-specific study resources to help students study smarter. If you’re having trouble finding what you’re looking for, our customer support team can help you find what you need! Feel free to contact them here:

Recurring Subscriptions: If you have canceled your recurring subscription on the day of renewal and have not downloaded any documents, you may request a refund by submitting an email to

Satisfaction Guarantee: If you’re not satisfied with your subscription, you can contact us for further help. Contact must be made within 3 business days of your subscription purchase and your refund request will be subject for review.

Please Note: Refunds can never be provided more than 30 days after the initial purchase date regardless of your activity on the site.