Loading [MathJax]/extensions/mml2jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Engineering LibreTexts

Search

  • Filter Results
  • Location
  • Classification
    • Article type
    • Author
    • Set as Cover Page of Book
    • License
    • Show TOC
    • Transcluded
    • OER program or Publisher
    • Autonumber Section Headings
    • License Version
    • Print CSS
  • Include attachments
Searching in
About 25 results
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Applied_Programming/A_Brief_Introduction_to_Engineering_Computation_with_MATLAB_(Beyenir)/01%3A_Chapters/1.04%3A_Writing_Scripts_to_Solve_Problems
    MATLAB provides scripting and automation tools that can simplify repetitive computational tasks. For example, a series of commands executed in a MATLAB session to solve a problem can be saved in a scr...MATLAB provides scripting and automation tools that can simplify repetitive computational tasks. For example, a series of commands executed in a MATLAB session to solve a problem can be saved in a script file called an m-file. An m-file can be executed from the command line by typing the name of the file or by pressing the run button in the built-in text editor tool bar.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Applied_Programming/A_Brief_Introduction_to_Engineering_Computation_with_MATLAB_(Beyenir)/01%3A_Chapters/1.01%3A_What_is_MATLAB/1.1.01%3A_Problem_Set
    Learn about the following terms using help command: workspace plot clear format roots
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Applied_Programming/A_Brief_Introduction_to_Engineering_Computation_with_MATLAB_(Beyenir)/01%3A_Chapters/1.06%3A_Computing_the_Area_Under_a_Curve
    This chapter essentially deals with the problem of computing the area under a curve. First, we will employ a basic approach and form trapezoids under a curve. From these trapezoids, we can calculate t...This chapter essentially deals with the problem of computing the area under a curve. First, we will employ a basic approach and form trapezoids under a curve. From these trapezoids, we can calculate the total area under a given curve. This method can be tedious and is prone to errors, so in the second half of the chapter, we will utilize a built-in MATLAB function to carry out numerical integration.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Applied_Programming/A_Brief_Introduction_to_Engineering_Computation_with_MATLAB_(Beyenir)/01%3A_Chapters/1.01%3A_What_is_MATLAB
    MATLAB stands for MATrix LABoratory (see wikipedia) and is a commercial software application written by The MathWorks, Inc. When you first use MATLAB, you can think of it as a glorified calculator all...MATLAB stands for MATrix LABoratory (see wikipedia) and is a commercial software application written by The MathWorks, Inc. When you first use MATLAB, you can think of it as a glorified calculator allowing you to perform engineering calculations and plot data. However, MATLAB is more than an advanced scientific calculator, for example MATLAB's sophisticated numerical computation environment also allows us to analyze data, simulate engineering systems, document and share our code with others.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Applied_Programming/A_Brief_Introduction_to_Engineering_Computation_with_MATLAB_(Beyenir)/00%3A_Front_Matter/04%3A_Acknowledgements
    I would like to express my appreciation to all of my students in the Power and Process Engineering program between the academic years 2011-12 and 2015-16 for their feedback and understanding that this...I would like to express my appreciation to all of my students in the Power and Process Engineering program between the academic years 2011-12 and 2015-16 for their feedback and understanding that this book is a work in-progress. David Porter 1 , the founder of BCIT OER Group in 2015 who constantly provides me with the latent energy to continue working on this book, Sergiy Yatlo who gave feedback to the first iterations of the book in early 2011.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Applied_Programming/A_Brief_Introduction_to_Engineering_Computation_with_MATLAB_(Beyenir)/01%3A_Chapters/1.08%3A_Publishing_with_MATLAB/1.8.01%3A_Problem_Set
    The m-file content: %% Work done % This script computes the work done on an object clc disp('A force F acting on a body at a distance s from a fixed point is given by') disp('F=3*s+(1/(s^2)) where s i...The m-file content: %% Work done % This script computes the work done on an object clc disp('A force F acting on a body at a distance s from a fixed point is given by') disp('F=3*s+(1/(s^2)) where s is the distance in meters') disp('Compute the total work done in moving') disp('From the position where s=1 to that where s=10.') disp(' ') % Display blank line %% Create a row vector for distance, s s=1:.001:10; %% Compute Force for s F=3.*s+(1./(s.^2)); % Computing Force for s %% Integrating F*ds …
  • https://eng.libretexts.org/Courses/Oxnard_College/Matlab_and_Octave_Programming_for_STEM_Applications_(Smith)/18%3A_Integration_and_Differentiation/18.01%3A_Integration-_Computing_the_Area_Under_a_Curve
    This chapter essentially deals with the problem of computing the area under a curve. First, we will employ a basic approach and form trapezoids under a curve. From these trapezoids, we can calculate t...This chapter essentially deals with the problem of computing the area under a curve. First, we will employ a basic approach and form trapezoids under a curve. From these trapezoids, we can calculate the total area under a given curve. This method can be tedious and is prone to errors, so in the second half of the chapter, we will utilize a built-in MATLAB function to carry out numerical integration.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Applied_Programming/A_Brief_Introduction_to_Engineering_Computation_with_MATLAB_(Beyenir)/01%3A_Chapters/1.07%3A_Regression_Analysis
    Suppose we calculate some variable of interest, y, as a function of some other variable x. We call y the dependent variable and x the independent variable. For example, consider the data set below, ta...Suppose we calculate some variable of interest, y, as a function of some other variable x. We call y the dependent variable and x the independent variable. For example, consider the data set below, taken from a simple experiment involving a vehicle, its velocity versus time is tabulated. In this case, velocity is a function of time, thus velocity is the dependent variable and the time is the independent variable.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Applied_Programming/A_Brief_Introduction_to_Engineering_Computation_with_MATLAB_(Beyenir)/01%3A_Chapters/1.08%3A_Publishing_with_MATLAB
    MATLAB includes an automatic report generator called publisher. The publisher publishes a script in several formats, including HTML, XML, MS Word and PowerPoint.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Applied_Programming/A_Brief_Introduction_to_Engineering_Computation_with_MATLAB_(Beyenir)/01%3A_Chapters/1.06%3A_Computing_the_Area_Under_a_Curve/1.6.01%3A_Problem_Set
    clc % Clear screen disp('This script computes the work done by') disp('The gas in expanding from volume v1 to v2') disp(' ') % Display blank line a=input('Enter the constant a: '); b=input('Enter the ...clc % Clear screen disp('This script computes the work done by') disp('The gas in expanding from volume v1 to v2') disp(' ') % Display blank line a=input('Enter the constant a: '); b=input('Enter the constant b: '); p_i=input('Enter the initial pressure [kPa]: '); v_i=input('Enter the initial volume [m3]: '); v_f=input('Enter the final volume [m3]: '); k=(p_i+(a/(v_i^2))*(v_i-b)); % Calculating constant k v=v_i:.001:v_f; % Creating a row vector for volume p=(k./(v-b))-(a./(v.^2)); % Computing p…
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Applied_Programming/A_Brief_Introduction_to_Engineering_Computation_with_MATLAB_(Beyenir)/00%3A_Front_Matter/06%3A_Study_Guide
    The strategic goal of the course and book is to provide learners with an appreciation for the role computation plays in solving engineering problems. Since the primary focus is engineering computation...The strategic goal of the course and book is to provide learners with an appreciation for the role computation plays in solving engineering problems. Since the primary focus is engineering computation, we will concentrate on the mathematical solutions and, to a limited extent, the graphical user interface (GUI) features of MATLAB. To make the best of this process, students are encouraged to observe the following guidelines that have proven to work well:

Support Center

How can we help?