Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i have a task of Matlab. kindly check the attach image.ANY ONE QUESTION 11:42 online.yildiz.edu.tr upload the homework to the system by the deadline. The

image text in transcribedi have a task of Matlab. kindly check the attach image.ANY ONE QUESTION

11:42 online.yildiz.edu.tr upload the homework to the system by the deadline. The written programs should be added to the homework. 1/4 Write a program that calculates the centroid of the shaded area shown in the figure using the MATLAB program. In the program, the user should be asked to divide the area into sections and enter the coordinates of the centroids with two numbers (Xc and Yc) and the area of each section. with a number (Ac) with the input function in vector form. Also, when the program is run, it is expected to display a table with X coordinates in the first column, Yc coordinates in the second. column, Ac areas in the third column, Xc Ac product values in the fourth column, and Yc. Ac product values in the fifth column. Following the table, it is expected that the coordinates of the centroid of the shaded area will be shown. Find the results with two digits after the comma. Note 1: Parametric student number Example: 10043052 (abcdefgh respectively) Note 2: abc, ade, and afg are a three-digit number while af and ah are a two-digit number. Note 3: If a is 0, it will be taken as 3. K 1: HOMEWORK 2: ah t (day) 1 T (C) 2f 2g 2 3 2h abc ALn = (T/3) e L:Length (cm) t : Time (day) T: Temperature (C) ALi The equation below shows the daily growth rate of crops. Calculate by using MATLAB how many days after planting the seeds the height of the crops exceds 1gh cm. (@ t=0, ALo=0) Show the result as a whole number. 4 5 6 2f -0.04t Note: Parametric student number + 2g O 2h 2f ALi+1 Example: 10043052 (abcdefgh respectively) ade 7 8 9 af 2g 2h ALi+2 D 10 afg 2f X 11 2g 2h **** **** L

Step by Step Solution

There are 3 Steps involved in it

Step: 1

Solutions Step 1 Solution k means clustering Syntax idx kmeansXk ... 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

Fundamentals of Cost Accounting

Authors: William Lanen, Shannon Anderson, Michael Maher

3rd Edition

9780078025525, 9780077517359, 77517350, 978-0077398194

More Books

Students also viewed these Programming questions

Question

compare and contrast orientations to the field, and

Answered: 1 week ago

Question

Define science and explain four of its major goals.

Answered: 1 week ago