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.
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.
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 arraysmatrices
c SELECTION: Using ifelseifelse statements split the program flow into branches
based on welldefined logical conditions.
d REPETITION: Forloops andor Whileloops with multiple executable instructions
within.
e USERDEFINED FUNCTIONS: One or more of LiveFunctions needed and used for the
solution of the problem. Recall: a userdefined function is a MATLAB program that is
created by the user, saved as a function file, and then used like a builtin 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.
The main LiveScript file andor LiveFunctions must ensure that possible errors in input data are
detected.
All of LiveScript and LiveFunction files must be wellcommented, 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
