Compute precision for a given reference value

Assignment Help Computer Engineering
Reference no: EM132206030

A) Write a MATLAB function that computes precision for a given reference value.

A prototype of the function is given here:

function [precision] = PrecisionVersusBase( base ) % returns precision

The algorithm for computing the precision is given in the pseudo code below

precision = base

WHILE( base + precision > base )

precision = precision / 2

precision = precision * 2

B) Using the function from part A, compute precision for a reference value equal to 1.0 to 1e-30, reducing it by a factor of 10 each step. ( base = base/10.0; ) Write out the results of each case to a Comma Separated Values (CSV) file*. Write out theprecision, and the base, along with the ratio of precision and base, in other words writeout base, precision and precision/base. Document these results in your report.

First, plot the base versus precision and then plot base versus the ratio. Consider theform and style of plot you are using, especially the x-axis. Due to the geometricnature in the progression of base, base/10 at each step, a log scale might be helpful.The MATLAB function loglog is the same as plot, except each axis (x and y) will use a log scale.

Reference no: EM132206030

Questions Cloud

What is your reasoning for the components that you select : If you were working at an older adult or community center and asking for funding from the city for an intervention to participants' cognitive ability.
What is marketing supposed to accomplish for your business : Marketing Objectives. What is "marketing" supposed to accomplish for your business? Sales or market share growth? Product leadership, etc.
How does your cohort worldview differ : How does your cohort's worldview differ from the worldview of someone twenty years younger and twenty years older than you?
Obtain cross correlation in vector pdx : Generate noise. It will have gausian distrubtion normal distribution with variane of 0.5. Obtain cross correlation in vector Pdx. (xcorr)
Compute precision for a given reference value : Write out the results of each case to a Comma Separated Values (CSV) file*. Write out theprecision, and the base, along with the ratio of precision.
Complete the purchasing document matrix : Your team is required to train new procurement specialists and part of the training is to provide a reference guide that includes all relevant purchasing.
A program to generate a random noise of amplitude : Write a MATLAB program to generate a random noise of amplitude 0.2V_pp add it to a generated low frequency signal of 100Hz.
Explain the elements of business negotiations : You are a business negotiations consultant who has been hired by a start-up company to create a training guide for its newly hired procurement specialists.
Write the appropriate matlab statements for each step : Test your solution by writing a MATLAB function on your computer and submit a print copy/email attachment of your code.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Discuss security goals an enterprise may have

security goals an enterprise may have. Replies to an RFI provide details about a product offered for sale

  Describe the business process or set of procedures

Throughout this course, you will be working on developing several components of either the computer forensics or incident response report you identified.

  What must be considered in an acceptable use policy

What should be considered in an Acceptable Use Policy? What must be allowed as acceptable behavior when using corporate information resources.

  Identify the internet browsers that you used

Identify the Internet Browser(s) that you used:[Outcome #1]. Identify a minimum of two (2) search engines that you used:[Outcome #1].

  Examine how the system balanced security and usability

Examine how this system balanced security and usability, and explain the challenges of incorporating system security and system usability into a design.

  What is the relationship between a role and a competency

How do roles facilitate the development and implementation of specific practices for any organization?

  Write an application named collegelist

Write an application named CollegeList that declares an array of four "regular" CollegeEmployees, three Faculty, and seven Students.

  How are d and y different from command mode commands

How are d and y different from Command Mode commands like j and $? How do you noninteractively and globally replace Internet with Web in all lines of a file?

  Write a multiple threading program with a topic

Write a multiple threading program with a topic at your own choice or modify the code you find by adding more functions to it.

  Make a program to prints out the even integers

Write a c++ program that prints out the even integers between 2 and 100.

  What kinds of network devices does the packet pass through

What kinds of network devices does the packet pass through.

  Write a short explanation of each method to someone

Write a short explanation of each method to someone with little knowledge of information security or risk.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd