Connexions

Sections
You are here: Home » Content » Programming with M-Files: An Engineering Cost Analysis Example Using If Statements

About: Programming with M-Files: An Engineering Cost Analysis Example Using If Statements

Module by: Darryl Morrell. E-mail the author

View content

Metadata

Name: Programming with M-Files: An Engineering Cost Analysis Example Using If Statements
ID: m13433
Language: English (en)
Summary: This is an example of using M-Files to solve a simple engineering cost analysis problem in which the cost to assemble a product depends on the cost of its components; the cost of components depends on the number of units to be assembled.
Subject: Science and Technology
Keywords: Engineering cost analysis, if statement, MathScript, MATLAB, M-File, Octave
Document Type: -//CNX//DTD CNXML 0.5 plus MathML//EN
License: Creative Commons Attribution License CC-BY 2.0

Authors: Darryl Morrell (morrell@asu.edu)
Copyright Holders: Darryl Morrell (morrell@asu.edu)
Maintainers: Darryl Morrell (morrell@asu.edu)

Latest version: 1.6 (history)
First publication date: Feb 17, 2006 4:38 pm US/Central
Last revision to module: Oct 17, 2006 2:58 pm GMT-5

Module XML: m13433_1.6.cnxml

Version History

Version: 1.6 Oct 17, 2006 2:58 pm GMT-5 by Darryl Morrell
Changes:
Added Exercise 4

Version: 1.5 Aug 22, 2006 10:48 am GMT-5 by Darryl Morrell
Changes:
Changed MATLAB to M-File

Version: 1.4 Mar 2, 2006 5:54 pm US/Central by Darryl Morrell
Changes:
Fixed figure size

Version: 1.3 Mar 2, 2006 5:49 pm US/Central by Darryl Morrell
Changes:
Added solutions to problems  2 an 3

Version: 1.2 Feb 22, 2006 11:48 am US/Central by Darryl Morrell
Changes:
Added solution to prob 1

Version: 1.1 Feb 17, 2006 11:22 pm US/Central by Darryl Morrell
Changes:
Initial Version

How to Reuse and Attribute This Content

If you derive a copy of this content using a Connexions account and publish your version, proper attribution of the original work will be automatically done for you.

If you reuse this work elsewhere, in order to comply with the attribution requirements of the license (CC-BY 2.0), you must include

  • the authors' names: Darryl Morrell
  • the title of the work: Programming with M-Files: An Engineering Cost Analysis Example Using If Statements
  • the Connexions URL where the work can be found: http://cnx.org/content/m13433/1.6/

See the citation section below for examples you can copy.

How to Cite and Attribute This Content

The following citation styles comply with the attribution requirements for the license (CC-BY 2.0) of this work:

American Chemical Society (ACS) Style Guide:

Morrell, D. Programming with M-Files: An Engineering Cost Analysis Example Using If Statements, Connexions Web site. http://cnx.org/content/m13433/1.6/, Oct 17, 2006.

American Medical Assocation (AMA) Manual of Style:

Morrell D. Programming with M-Files: An Engineering Cost Analysis Example Using If Statements [Connexions Web site]. October 17, 2006. Available at: http://cnx.org/content/m13433/1.6/.

American Psychological Assocation (APA) Publication Manual:

Morrell, D. (2006, October 17). Programming with M-Files: An Engineering Cost Analysis Example Using If Statements. Retrieved from the Connexions Web site: http://cnx.org/content/m13433/1.6/

Chicago Manual of Style (Bibliography):

Morrell, Darryl. "Programming with M-Files: An Engineering Cost Analysis Example Using If Statements." Connexions. October 17, 2006. http://cnx.org/content/m13433/1.6/.

Chicago Manual of Style (Note):

Darryl Morrell, "Programming with M-Files: An Engineering Cost Analysis Example Using If Statements," Connexions, October 17, 2006, http://cnx.org/content/m13433/1.6/.

Chicago Manual of Style (Reference, in Author-Date style):

Morrell, D. 2006. Programming with M-Files: An Engineering Cost Analysis Example Using If Statements. Connexions, October 17, 2006. http://cnx.org/content/m13433/1.6/.

Modern Languages Association (MLA) Style Manual:

Morrell, Darryl. Programming with M-Files: An Engineering Cost Analysis Example Using If Statements. Connexions. 17 Oct. 2006 <http://cnx.org/content/m13433/1.6/>.