Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Basic MATLAB script using vectors to store data - friction factor
Play lesson

Introduction to Chemical Engineering Computation with MATLAB - Basic MATLAB script using vectors to store data - friction factor

4.0 (3)
32 learners

What you'll learn

This course includes

  • 18.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Full Transcript

Previously, we wrote a simple MATLAB script to compute and plot the Darcy-Weisbach friction factor for a range of Reynolds number and value of the relative roughness. Here we update this script first to make use of vectors for storing values and simplifying our loop, and then ultimately we use elementwise operations to eliminate the loop. In the next two chapter we will add to this when we introduce functions. This is Exercise 4.4 from my text "Introduction to Chemical Engineering Computation with MATLAB." As a starting point, I use our script from Exercise 3.4 generated in a previous screen cast. A copy of the M-files created during the screen cast may be found below: https://drive.google.com/file/d/1rWCOERINEI30kmdoa_srTtmI-bUWfzMK/view?usp=sharing https://drive.google.com/file/d/1cPPjXCmtpWClHBJtLiI5QtLAPVbXfHiD/view?usp=sharing https://drive.google.com/file/d/11Je9m5lLIeLT2_lcwRr7NwN_MAg5EXIY/view?usp=sharing And a copy of the M-file from Exercise 3.4 may be found below: https://drive.google.com/file/d/1rETJw6t9ykthaZqkBspFIpYOU_gFdh5r/view?usp=sharing ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Subscribe: https://www.youtube.com/c/AndrewPaluch?sub_confirmation=1

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere