Generate a sequence of pseudorandom numbers

Assignment Help Mathematics
Reference no: EM131352695

In the program trainvq . c the empty cell problem is resolved by replacing the vector with no associated training set vectors with a training set vector from the quantization region with the largest number of vectors.

In given problem, we will investigate some possible alternatives. Generate a sequence of pseudorandom numbers with a triangular distribution between 0 and 2. (You can obtain a random number with a triangular distribution by adding two uniformly distributed random numbers.) Design an eight-level, two-dimensional vector quantizer with the initial codebook shown in Table 10.9.

(a) Use the trainv q program to generate a codebook with 10,000 random numbers as the training set. Comment on the final codebook you obtain. Plot the elements of the codebook and discuss why they ended up where they did.

(b) Modify the program so that the empty cell vector is replaced with a vector from the quantization region with the largest distortion. Comment on any changes in

Initial codebook for given problem:-

1

1

1

2

1

0.5

0.5

1

0.5

0.5

1.5

1

2

5

3

3

the distortion (or lack of change). Is the final codebook different from the one you obtained earlier?

(c) Modify the program so that whenever an empty cell problem arises, a two-level quantizer is designed for the quantization region with the largest number of output points. Comment on any differences in the codebook and distortion from the previous two cases.

Reference no: EM131352695

Questions Cloud

Common practice with expensive-high-tech equipment : You work for a nuclear research laboratory that is contemplating leasing a diagnostic scanner (leasing is a common practice with expensive, high-tech equipment). What would the lease payment have to be for both the lessor and the lessee to be indiffe..
What should be included in the communication plan : Which of the phases of project management would you consider the key for a project's success? Please discuss how you might apply these techniques to your own work environment. Please provide an example and discuss the impact of using the techniq..
Contrast asexual and sexual reproduction : 1. Compare and contrast asexual and sexual reproduction. 2. Explain why both sexual and asexual reproductive strategies still exist (ie, why doesn't every organism reproduce sexually? Why doesn't every organism reproduce sexually?).
Draw current voltage characteristics for the junctions : When two metals are separated by a very thin insulator, electrons from one metal can tunnel through the insulator to the other metal.
Generate a sequence of pseudorandom numbers : Investigate some possible alternatives.- Generate a sequence of pseudorandom numbers with a triangular distribution between 0 and 2.-
Nuclear research laboratory-calculate the nal : You work for a nuclear research laboratory that is contemplating leasing a diagnostic scanner (leasing is a common practice with expensive, high-tech equipment). The scanner costs $8,050,000, and it would be depreciated straight-line to zero over fiv..
What is the amount of bad debt deduction : Dr. D, a dentist, performed a root canal for a patient and charged him $300. The patient paid $100, then left town, never to be seen again. What is the amount of bad debt deduction, if any, that D may claim assuming that she is a cash basis taxpayer?
Examine the effects of the actions taken : What levels of the hierarchy of controls are most applicable to system safety? Are any levels not useful when applying system safety? Provide one or more examples that support your response. Examine the effects of the actions taken.
Ruined carpeting from clogged sewer line : During the year, R had various losses. Explain whether each of the following would qualify as a casualty loss. Loss of tree from Dutch elm disease. Ruined carpeting from clogged sewer line. Hole in his suit from cigarette ashes he dropped; ruined shi..

Reviews

Write a Review

Mathematics Questions & Answers

  What region a sales in the second quarter

in the second quarter, sales increased by 15% for region b, and region a had 1.5 times as many sales as region b. what region a sales in the second quarter?

  Evaluating-dimension and null space

If you were to let A be a 6 x 14 matrix where the dimension of the row space is 3 (dim(R(A) = 3), what would the dimension of the null space of matrix A (dim(N(A)) be and what would the dimension of the null space of A^T (dim(N(A^T)) be?

  Verify that total annualnbspcostnbspaggregated

consider the following data for a clinical

  Are there any modern tools which assist solve this type of

geometry is a very broad field of mathematics composed of a wide range of tools that can be used for problem solving.

  Find the function of flight of his ball draw a graph of

mike was playing golf at hartford golf club. he hit the shot from the 4th tee which was 7 yards above the ground

  Find the constraints and find maximum or minimum value

find the constraints and find maximum or minimum value using linear programming method.a computer company makes parts a

  Find the approximate change in the amount of sulfur dioxide

find the approximate change in the amount of sulfur dioxide between 10 A.M. and noon

  Draw a graph of the equation y = x(1 - x)

Draw a graph of the equation y = x(1 - x) for x between 0 and 1. What is the maximum value of y? Why does this show that the variance (see Problem 10 in this section) of the "number of successes" random variable for n independent trials is less th..

  Description of fermat little theorem

Please DO NOT USE Euler's function. You can only use Fermat's Little theorem if needed.

  Use differentials to estimate the maximum error in the

the circumference of a sphere was measured to be 84 cm with a possible error of 0.5 cm.a use differentials to estimate

  Phases in the systems development life cycle

List and describe the seven phases in the systems development life cycle and determine which phase is most important to an individual developing an app for your favorite mobile device.

  What is the lenght of the prism

the volume of a rectangular prism is 208 cm3. If the area of one end is 16 cm2, what is the lenght of the prism?

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