Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Class_SDP_Prep_Application_B 2005.6 1930.2 1965.6 2100.5 2065.8 1988.1 2024.6 2163.5 1945.4 1872.3 1906.6 2037.5 2010.3 1985.2 2600.3 1600.2 1899.9 1980.4 2004.3 1999.3 2025.3 1982.3 1984.6 2012.4

image text in transcribed

Class_SDP_Prep_Application_B 2005.6 1930.2 1965.6 2100.5 2065.8 1988.1 2024.6 2163.5 1945.4 1872.3 1906.6 2037.5 2010.3 1985.2 2600.3 1600.2 1899.9 1980.4 2004.3 1999.3 2025.3 1982.3 1984.6 2012.4 2035.6 2065.4 2003.4 2050.4 1950.3 2032.2 1976.7 

Matlab Format!

ENGR 1181Class SDP Prep Class SDP Prep Application B You are being assigned three problems. Do all three problems in one script file: Class_SDP Prep App.m Include comment statements to help organize your script file. Include the standard header Create the following vector A=[1 2 3 4] Using a while loop. The while loop must create the vector and add an element to it each time it passes through the loop. Create the following vector B=[4812162024] Using a while loop. The while loop must create the vector and add an element to it each time it passes through the loop. Background Renewable energy is a growing field; however, in order to determine what energy source we should use we must understand how much energy we consume Problem Statement You are an electrical engineer working with renewable energy. The file ClassSDPprep_watts.txt has the maximum power in Watts required in a house for each day for the month of March. You want to compute the average power requirement for the month of March. You will need to load the data into a vector and compute this average using a while loop. Using tic) and toc) determine how long the program took to run and print the results to the screen. Instructions Represent Consider creating a flowchart or algorithm to help solve the problem Pian Create a script file named Class SDP Prep_App.m Outline the steps your program will take by adding comment statements to your script file Complete Problems 1-3 Create an Excel Sheet, copy and paste the data from ClassSDPprep_watts.txt and perform a Implement Evaluate calculation to verify the answer for Problem 3 Document Publish the script file to pdf by typing the following command into the Command Window publish 'Class SDP Prep App, 'pdf') The script file name (nom extension) must match what is in the single quotes in the publish command Submit the following: o Script file & Command window output PDF generated above o Excel verification

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Databases Object Oriented Deductive Hypermedia Technologies

Authors: Kamran Parsaye, Mark Chignell, Setrag Khoshafian, Harry Wong

1st Edition

0471503452, 978-0471503453

More Books

Students also viewed these Databases questions