Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Question :

a : Write Matlab code in the M-file (q2.m) that will read data from ‘LightTransmit.txt' (skip the text lines). Unfortunately, there is ‘noise' in the dataset (those data with It value higher than 10) and your Matlab program should skip those data as well and store the rest of the data in a matrix called ‘transmission_data'. You should not use import wizard to load the data from the text file.

Then, use the scatter command to create a scatterplot of data with intensity of light transmission, It, versus thickness (in metres) of the transparent solid, L. You need to include appropriate title, legend and label of x-axis and y-axis in your plot which should be the top left subplot in the figure you create.

b : Based on the data distribution pattern observed in your scatter plot from Q2a, you predict the relationship between the intensity of light transmission and the transparent solid length could possibly be related by a polynomial equation.

Perform a polynomial fit with a third order polynomial and make a plot for the polynomial equation over the range of the data which is overlaid with the scatter plot from (i.e., this should be plotted in the top left subplot also). You should also create 50 interpolated data points onto your sub plot which are shown as red dots.

Hint: You can use the Matlab built-in functions polyfit and polyval for this task.

By observing the plot you made for the task above, your polynomial model seemingly fit the existing data points well. Try to create an extrapolated plot by extending the L upper limit to 0.16 m. Place your extrapolated plot in the top right subplot in the figure.

What do you observe and conclude from your extrapolated plot? Use fprintf to write brief description of the problem you see in the curve fit.

data in LightTransmit.txt is like:

L(cm) IT (watts/m2)

0.5 4.2 0.7 12 1.2 4.0 1.7 3.8 2.0 15 2.2 3.6 3.5 3.2 4.2 3.0 4.5 2.9 5.0 10.8 6.0 2.5

 

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M93103513

Have any Question?


Related Questions in Computer Engineering

Describe how to discover cookies on web browsers what is a

Describe how to discover cookies on web browsers. what is a reverse DNS lookup and can it be used when attacking the network.

Question 1 where to be careful when using cloud services2

Question: 1. Where to be careful when using cloud services? 2. What are those cloud essential characteristics in "The U.S. NIST Definition of Cloud Computing"? The response must be typed, single spaced, must be in times ...

Restaurant management database project the restaurant

Restaurant Management Database Project : The restaurant maintains the catalog for the list of food and beverage items that it provides. Apart from providing food facility at their own premises, the restaurant takes order ...

With regards to data mining business analytics why is it

With regards to data mining/ business analytics, Why is it not ideal to evaluate a classifier's performance on the training data set?

Scheme number computera write a recursive procedure digits

Scheme number computer a. Write a recursive procedure (digits n) that computes the number of digits in the integer n using a recursive process. For example, (digits 42) should return 2 and (digits 13579) should return 5. ...

What is the sum after execution assume that min and max are

What is the SUM after execution? Assume that MIN and MAX are integers provided provided by the user, and that MAX is greater than MIN. (Solve without choosing actual values) INPUT MIN, MAX SUM= 0 DOFOR M= MIN, MAX SUM= S ...

Each of the following lists has an average of 50 for which

Each of the following lists has an average of 50. For which one is the spread of the numbers around the average biggest?smallest? a. 0, 20, 40, 50, 60, 80, 100 b. 0, 48, 49, 50, 51, 52, 100 c. 0, 1, 2, 50, 98, 99, 100 Gu ...

A summary of business activities of a course registration

A summary of business activities of a "Course Registration System" for enrolling courses for students and for enrolled class lists for faculty members at an online university is as follows: The Physics Department provide ...

What is the transmission type transmission form

What is the Transmission Type, Transmission Form, Transmission Speed, Address for Transmission and Collusion for hubs?

Question 1in what ways can a hash value be secured so as to

Question: 1. In what ways can a hash value be secured so as to provide message authentication? 2. Elaborate on the applications, weaknesses and limitations of the hashing algorithms The response must be typed, single spa ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As