Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please solve this using matlab code to solve part 1 this is the timevector to use timevector=.25:.25:24; Th block of code ini tidl ze3 r1a

Please solve this using matlab code

to solve part 1 this is the timevector to use

timevector=.25:.25:24;

image text in transcribed

Th block of code ini tidl ze3 r1a t a you need to solve the problerns in clear all, cIC Do not remove solardayl- [0 0 000 000 0 0000 00000 00000000000 0.04 0.08 0.092 0.12 0.124 0.14 0.152 0.168 0.452 1.244 2.196 2.676 2.824 2.964 3.108 3.208 3.296 3.4 3.456 3.54 2.828 3.72 3,716 3,728 3.684 3.628 3.392 3.444 1.916 2.628 2.944 1.088 1.952 1.628 2.288 2.912 1.532 1.088 1.9 1.912 1.76 1.452 1.184 0.936 0.584 0.304 0.196 0.092 0.04 0 00 0 0000 000 000000 01 solarday2 [0 0000000 00000000000 0000 000 000 0.008 0.064 0.132 0.236 0.304 0.336 0.372 0.436 0.52 0.628 0.8 0.8 0.76 0.768 0.792 0.784 0.84 0.852 0.860.956 0.952 0.952 0.888 0.736 0.772 0.82 0.772 0.82 0.776 0.668 0.6 0.632 0.552 0.472 0.404 0.368 0.388 0.376 0.396 0.288 0.196 0.116 0.052 0.044 0.048 0.028 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 00 0 0 0j solarmonthi -24.84 26.312 25.906 23.933 5.806 26.112 14.859 14.395 25.596 25.095 24.192 19.564 15.804 23.682 20.763 12.482 15.157 22.369 9.581 20.B55 23.066 17.441 14.682 22.507 24.048 23.271 22.34 25.463 21.017 16.2621; timeinterval0.25 units of hrs, 0.25 hour15 minute: ASSIGNMENT DESCRIPTION (contrived scenario using real data) Baseline solar has hired you as an intern tor their company because they % hoard you could holp thom implomont some data diagnostic tools which % could provide potential customers with valuable information about the % benefits of solar power and how power generation fluctuates over time On the first day, they provides you with several files from one of their t units and a5 you to ao some mone ing and analysis that wil help them as they converse with potential customers. % The variables "solarday!" and "solarday2" each represent a % different day of olar power generation at an ctual home in The value represent power values {in kli) t-ken at 15 minute intervals in a 24 hour day. The variable "solamonthl" 13 a vector containing total 3 energy generated over the course ot a given day (-hr), tor eac O 30 given days in a month % Your supervisor asks you to do the following: Part 1 % which corresponds to both "solardayi", "solarday?" , and your % "timev.ctor". If the value in the solardata is non-zero, this means the % solar panel is actively generating power at this specific time and the % corresponding value in the new "activewindow" vector would be 1. The Create an "activewindow" vector of zeros and ones vector should be created 2 different ways. One i more time-intensive but demonstrate knowledge of conditiondl structurs (an f-else-end) all within a looping structure (for ENGE 1215, a while loop). The second method is much more elegant and leverages MATLAB'3 % built in tunctionality or element-wise vector math. 2oth methods should % givo the samo rosult % start solution

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

More Books

Students also viewed these Databases questions

Question

What is Accounting?

Answered: 1 week ago

Question

Define organisation chart

Answered: 1 week ago

Question

What are the advantages of planning ?

Answered: 1 week ago