ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 10 Weeks Ago, 5 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 19 May 2017 My Price 9.00

EducationENGE 1215Assignment I6.MATLAB

help me with matlab please. i dont know how to do step 7-8

 

Department of Engineering EducationENGE 1215Assignment I6.MATLAB Exercise 1.(Individual – 20 points)After installing and activating MATLAB 2016a and watching the video “Getting Started with MATLAB”, follow thesteps below.You will submittwoscreen captures/figures showing your work in a single PDF. You do not need aproblem statement, but do need to use the homework header at the top of your file.The screen captures mustdisplay the MATLAB COMMAND WINDOW, the WORKSPACE,andthe Current Folder in the Default Layout(Home>Layout>Default).The text must be readable when pasted in your homework document.Suggestionsfor creating the screen capture include using Print Screen <Prt Scr> or a program like Snipping Tool that comeswith Windows10.Do NOT suppress the echo in this exercise (i.e, do not put a semicolon (;) on the end of each line).1.Typeformat compactat the command line. This will remove blank space in the command window.2.Clear the workspace by typingclearat the command line.3.Create a variableppgand store the value 1.95 in it – i.e., enterppg = 1.95at the >>.Note that ppg is ascalar.4.Create a new variablegaland store the value 13.5 in it.gal is also a scalar.5.Create a new variablecostand store the product of the variablesppgandgalin it.Cost is a scalar.6.Create a vector with three elements.The name of the vector will be your pid.Store your birthdate inthe vector putting the month (entered as a number: 1 for Jan….12 for Dec) in the first element, the dayin the second, and the year in the third.7.Type the command which will show the value of the year you were born (i.e., will show the thirdelement of the vector).8.Change the year that is stored in your vector to 2016; i.e., store 2016 in the third element of the vector,e.g., yourpid(3) = 2016.9.Do your first screen capture.Expand MATLAB to fill the screen and take a screen capture showing theCommand Window and Workspace window after steps 1-8 have been completed. Make sure yourCommand Window shows all work for steps 1-8. Paste the screen capture in a WORD document with thehomework header.10.Clear the workspace (see step 2 above).11.Clear the command window by typingclcat the command line.12.Create two six-element row vectors,StrainandStress, with values shown in the table below.Aftercreating the vectors, individually fix any values you incorrectly entered (as in step 8 above).StrainStress0.00017553150.000365105110.000885261340.001440426320.002045604580.0025857635313.Store the vectorsStrainandStressin a .mat file by typingsave w1dataat the command line. LetMATLAB save the file in the default location, the Documents/MATLAB directory.The values ofStrainechoed in the command window willlook different than what you enter. They will be displayed asvalues rounded to 4 places after the decimal.Notice if youlook in workspace the values have not been changed.

Attachments:

Answers

(11)
Status NEW Posted 19 May 2017 07:05 AM My Price 9.00

-----------

Not Rated(0)