Question: You can consider this extra credit assignment as a small project which will give you an opportunity to demonstrate your understanding of and skills in

You can consider this extra credit assignment as a small project which will give you an opportunity to
demonstrate your understanding of and skills in using MATLAB features that you have learned so far.
1) Identify an engineering problem from one of the courses that you have taken so far. This may be
from a project, homework assignment, exam, etc. and preferably with some additional
considerations that may be contributed by yourself. The problem statement must clearly
demonstrate the relevance to [preferably civil] engineering discipline. It must be a
comprehensive, challenging and nontrivial problem; otherwise it will not be considered for
extra credit. Provide a detailed description and attach a copy for the original assignment from
the course you took. Make sure proper citations to references that you may use are provided.
2) Your MATLAB solution must incorporate AT LEAST FOUR of the following:
a. SEQUENCE: Blocks of code, when and where needed, that is created to prepare and
process the necessary numerical data.
b. MATRIX MANUPILATION: Creating and manipulating arrays/matrices
c. SELECTION: Using if-elseif-...-else statement(s), split the program flow into branches
based on well-defined logical conditions.
d. REPETITION: Forloop(s) and/or Whileloop(s) with multiple executable instructions
within.
e. USER-DEFINED FUNCTION(S): One or more of LiveFunction(s) needed and used for the
solution of the problem. Recall: a user-defined function is a MATLAB program that is
created by the user, saved as a function file, and then used like a built-in function. The
function can be a simple single mathematical expression or a complicated and involved
series of calculations. In many cases it is actually a subprogram within a computer
program. The main feature of a function file is that it has an input and an output. This
means that the calculations in the function file are carried out using the input data, and
the results of the calculations are transferred out of the function file by the output. The
input and the output can be one or several variables, and each can be a scalar, a vector,
or an array of any size.
3) The main LiveScript file and/or LiveFunction(s) must ensure that possible errors in input data are
detected.
4) All of LiveScript and LiveFunction file(s) must be well-commented, explaining purpose and
function of every critical executable line of code.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!