×

Let's log you in.

or

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

×

or

by: Ana Beyer

3

0

2

Engr 101 - Week 4 - Lecture 6 Engr 101

Marketplace > University of Michigan > Engineering > Engr 101 > Engr 101 Week 4 Lecture 6
Ana Beyer
UM

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

×
Unlock Preview

During this lecture we practiced with a few new built-in MATLAB functions such as floor, mean, any, all, and stdddevs.
COURSE
Introduction to Computer Programming
PROF.
Laura Alford
TYPE
Class Notes
PAGES
2
WORDS
CONCEPTS
Engr101, functions, floor, mean, any, All, stddevs, Matlab, ComputerProgramming
KARMA
25 ?

Popular in Engineering

This 2 page Class Notes was uploaded by Ana Beyer on Tuesday September 27, 2016. The Class Notes belongs to Engr 101 at University of Michigan taught by Laura Alford in Fall 2016. Since its upload, it has received 3 views. For similar materials see Introduction to Computer Programming in Engineering at University of Michigan.

×

Reviews for Engr 101 - Week 4 - Lecture 6

×

×

What is Karma?

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

Date Created: 09/27/16
Lecture 6 - More Built-in MATLAB Functions Practice Tuesday, September 27, 212:04 PM More Built-in MATLAB Functions These functions operatefirst by columnso to apply to an entire matrix the function must be applied 2x • any( ) = returns true if ANY element of the vector is true • all( ) = returns true if only ALL elements of the vector are true • min( ) and max( ) = find the smallest or largest elements of a vector ○ They return 2 things: the value & the index • sort(matrix, 'ascend' or 'descend') = sorts the vector in ascending or descending order ○ Returns 2 things: newly sorted vector & vector of indices sorted • Find( ) = it's just like indexing; it's finding where something is; specifically it converts a logical index into a regular index matrix • floor( ) = performs an operation androunds down (aka drops thedecimals) Saving/Loading a Workspace • Save( ) = used to save all the variables currently in your workspace • Load( ) = used to open a saved workspace Lecture 6 - More Built-in MATLAB Functions Practice Tuesday, September 27, 212:04 PM More Built-in MATLAB Functions These functions operatefirst by columnso to apply to an entire matrix the function must be applied 2x • any( ) = returns true if ANY element of the vector is true • all( ) = returns true if only ALL elements of the vector are true • min( ) and max( ) = find the smallest or largest elements of a vector ○ They return 2 things: the value & the index • sort(matrix, 'ascend' or 'descend') = sorts the vector in ascending or descending order ○ Returns 2 things: newly sorted vector & vector of indices sorted • Find( ) = it's just like indexing; it's finding where something is; specifically it converts a logical index into a regular index matrix • floor( ) = performs an operation androunds down (aka drops thedecimals) Saving/Loading a Workspace • Save( ) = used to save all the variables currently in your workspace • Load( ) = used to open a saved workspace

×

25 Karma

×

×

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

Steve Martinelli UC Los Angeles

"There's no way I would have passed my Organic Chemistry class this semester without the notes and study guides I got from StudySoup."

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

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

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

STUDYSOUP CANCELLATION 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 support@studysoup.com

STUDYSOUP REFUND POLICY

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: support@studysoup.com

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 support@studysoup.com