100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Exam 2: ENGR 1120 - Programming with MATLAB questions well answers $9.99   Add to cart

Exam (elaborations)

Exam 2: ENGR 1120 - Programming with MATLAB questions well answers

 1 view  0 purchase
  • Course
  • English 1120
  • Institution
  • English 1120

Exam 2: ENGR 1120 - Programming with MATLAB questions well answers

Preview 1 out of 3  pages

  • September 21, 2024
  • 3
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • English 1120
  • English 1120
avatar-seller
BravelRadon
Exam 2: ENGR 1120 - Programming with
MATLAB

function [output variables] = function name (input variables) - correct answer ✔✔function definition
term



conv (a, b) - correct answer ✔✔Computes the product of the two polynomials described by the
coefficient arrays "a" and "b". The two polynomials need not be of the same degree. The result is the
coefficient array of the product polynomial.



[q, r] = deconv (num, den) - correct answer ✔✔Computes the result of dividing a numerator polynomial,
whose coefficient array is "num", by a denominator polynomial represented by the coefficient array
"den". The quotient polynomial is given by the coefficient array "q", and the remainder polynomial is
given by the coefficient array "r".



poly (r) - correct answer ✔✔Computes the coefficients of the polynomial whose roots are specified by
the vector "r". The result is a row vector that contains the polynomial's coefficients arranged in
descending order of power.



polyval (a, x) - correct answer ✔✔Evaluates a polynomial at specified values of its independent variable
"x", which can be a matrix or a vector. The polynomial's coefficients of descending powers are stored in
the array "a". The result is the same size as "x".



roots (a) - correct answer ✔✔Computes the roots of a polynomial specified by the coefficient array "a".
The result is a column vector that contains the polynomial's roots.



grid - correct answer ✔✔Displays gridlines at the tick marks corresponding to the tick labels in a graph.



plot (x, y) - correct answer ✔✔Generates a plot of the array "y" versus the array "x" on rectilinear axes.



plot (y) - correct answer ✔✔Plots the values of "y" versus their indices if "y" is a vector. Plots the
imaginary parts of "y" versus the real parts if "y" is a vector having complex values.

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller BravelRadon. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $9.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

79202 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$9.99
  • (0)
  Add to cart