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

  Questions on ferris wheel

Prepare a Flexible Budget Gator Divers is a company that provides diving services such as underwater ship repairs to clients in the Tampa Bay area.

  Logistic map

This assignment has two question related to maths. Questions are related to bifurcation cascade and logistic map.

  Finding the probability of cards

This assignment has questions related to probabiltiy.

  Systems of ode

Find all the xed points, and study their stability and Draw the phase portrait of the system, as well as the graphs of the solutions in all relevant cases.

  Derive the boolean expression

Derive the Boolean Expression and construct the switching circuit for the truth table stated

  System of equations

Evaluate which equations are under-identified, just-identified, and over-identified.

  Linear programming problem

Linear programming problem consisting of only two constraints with one objective function.

  Find the natural domain

Find the natural domain of the given functions.

  Introduction to numerical methods

Compute the coecients of the polynomials using the term recurrence relation.

  Chart of the topological manifold

De?nition of smoothness of functions on a smooth manifold is chart independent and hence geometric.

  Mathematics in computing

Questions related on mathematics in computing.

  Complex problems

Complex problems

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