# Electronics Engineering

**
Solution Library **

#### Write a Script which Reads All the Values of an Array Using MATLAB

Question Consider a set of N numbers, myArray, (represented as a row vector) which is not ordered. Write a function myStats which takes myArray and an integer k such that 1≤k≤N and returns the kth largest and kth smallest element in myArray. Your function should ensure the function is calle ... Read More

Reads ( 472 )Price:
Original Price: |
Add to Cart |

#### Create a Matrix From Linear Equations and Determine Current Using MATLAB

Question a) An analysis of an electrical resistor circuit with two dc voltage sources E1 and E2 produces following equations from which the loop currents i1,i2 and i3 are determined: (R1 + R2 + R3)i1 - R2i2 - R3i3 = -E1 -R2i1 + (R2 + R4 + R5)i2 - R5i3 = 0 -R3i1 - R5i2 + (R3 + R5 + R6)i3 = E2 Le ... Read More

Reads ( 831 )Price:
Original Price: |
Add to Cart |

#### Write Functions to Interleave Matrix Elements to compute Height and Velocity Using MATLAB

Question a) In this problem, we will be computing the height and velocity of a ball when it is thrown vertically with an initial velocity from both Earth and Mars. For a given time t, the height reached is given by h = vt + 12 at2 and final velocity is determined by the equation vf = v + at ( ... Read More

Reads ( 883 )Price:
Original Price: |
Add to Cart |

#### Generates a Pyramid Pattern that Processes a Positive Odd Integer Using MATLAB

Question a) Generate the following Pyramid pattern, that processes a positive, odd integer N received from the user and produces an N by (2* N - 1) array containing a pyramid of numbers. For example: When N = 5 ... Read More

Reads ( 663 )Price:
Original Price: |
Add to Cart |

#### MATLAB Program that Determines the Course Grade for a Student

Question A class teacher is preparing the final grades for the students. She is entering grades into a table which will include scores from 5 homeworks, 3 midterms and 1 final. Write a program that determines the course grade for a student. The scores will be adjusted based on some grading criteria ... Read More

Reads ( 740 )Price:
Original Price: |
Add to Cart |

#### Generate Sample for Discrete Random Variables given Binomial Distribution Using MATLAB

Question Generate 1000 samples for each of the following discrete random variables: (a) Binomial distribution with n=30, p=0.6, and distr. with n=60, p=0.5 For the above distribution, plot probability mass function for each set parameters on one figure (you should have two curves on each figure a ... Read More

Reads ( 402 )Price:
Original Price: |
Add to Cart |

#### Generate Sample for Discrete Random Variables given Geometric Distribution Using MATLAB

Question Generate 1000 samples for each of the following discrete random variables: (a) Geometric distribution with p=0.6 and distr. with p=0.4 For the above distribution, plot probability mass function for each set parameters on one figure (you should have two curves on each figure and have thre ... Read More

Reads ( 501 )Price:
Original Price: |
Add to Cart |

#### Generate Sample for Discrete Random Variables given Poisson Distribution Using MATLAB

Question Generate 1000 samples for each of the following discrete random variables: (a) Poisson distribution with 3 and 10 For the above distribution, plot probability mass function for each set parameters on one figure (you should have two curves on each figure and have three figures overall). I ... Read More

Reads ( 496 )Price:
Original Price: |
Add to Cart |

#### Generate Sample for continuous Random Variables given Exponential Distribution Using MATLAB

Question Generate 1000 samples for each of the following continuous random variables: (a). Exponential distribution with and For the above distribution, plot the cumulative distribution function for each set parameters on one figure (you should have two curves on each figure and have overal ... Read More

Reads ( 681 )Price:
Original Price: |
Add to Cart |

#### MATLAB Script to Calculate and Plot the Polynomials and To Perform Simple Arithmetic

Question Write a script to calculate and plot the polynomials, and then perform simple arithmetic on them. Use the following polynomials, and x between -2 and 2. Programming note: You’ll be using the x limit values (-2 and 2) in quite a few places; best to make them variables so that you can ... Read More

Reads ( 773 )Price:
Original Price: |
Add to Cart |

#### MATLAB Script to Use a Polynomial to Create Data and then Practice Fitting

Question Write a script to use a polynomial to create data and then practice fitting. Summary This question belongs to MATLAB software and discusses about application of MATLAB in mathematics to solve polynomials and to perform certain operations. Answer is in MATLAB format ... Read More

Reads ( 779 )Price:
Original Price: |
Add to Cart |

#### MATLAB Script to Integrate a Function in Three Different Ways

Question Write a script to integrate a function in three different ways: by eyeballing it, by calling trapz with a list of points, and by calling quad with a function. Equation we’re going to integrate: y(x) = -x4 + 2x2 + 2. Summary This question belongs to MATLAB software and discusses ab ... Read More

Reads ( 736 )Price:
Original Price: |
Add to Cart |