4- Which is the invalid variable name in MATLAB? a) k6 b) last c) 6x d) z 5- To enter the polynomial P(s) = 2s4 - 3s³ +7s-A to Matlab command window with A = -7 is a) P(s) = 2*s^4-3*s^3 +7*s-A b) P= 2*s^4-3*^s + 7*s+7 c) P(s)=[2,-3,7,7] d) P=[2,-3, 0, 7, 7] 6- What happens if we don't assign a variable to an expression which evaluates a numerical value? a) MATLAB shows error b) Nothing happens c) The evaluated values are assigned to a variable (ans) automatically d) Depends on the numerical value 7- Name the functions used, for multiplication of two polynomials p1, and p2 in MATLAB. a) convolution (p1, p2) b) multiply(p1, p2)

Elements Of Electromagnetics
7th Edition
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Sadiku, Matthew N. O.
ChapterMA: Math Assessment
Section: Chapter Questions
Problem 1.1MA
icon
Related questions
Question
100%
4- Which is the invalid variable name in MATLAB?
a) k6
b) last
c) 6x
d) z
5- To enter the polynomial P(s) = 2s4 - 3s³ +7s - A to Matlab command window with A = -7 is
a)
b) P= 2*s^4 - 3*^s + 7*s + 7
P(s) = 2*s^4 - 3*s^3 + 7*s - A
c) P(s) [2,-3,7,7]
d) P=[2,-3, 0, 7, 7]
6- What happens if we don't assign a variable to an expression which evaluates a numerical value?
a) MATLAB shows error
b) Nothing happens
c) The evaluated values are assigned to a variable (ans) automatically
d) Depends on the numerical value
7- Name the functions used, for multiplication of two polynomials p1, and p2 in MATLAB.
a) convolution (p1, p2)
b) multiply(p1, p2)
Transcribed Image Text:4- Which is the invalid variable name in MATLAB? a) k6 b) last c) 6x d) z 5- To enter the polynomial P(s) = 2s4 - 3s³ +7s - A to Matlab command window with A = -7 is a) b) P= 2*s^4 - 3*^s + 7*s + 7 P(s) = 2*s^4 - 3*s^3 + 7*s - A c) P(s) [2,-3,7,7] d) P=[2,-3, 0, 7, 7] 6- What happens if we don't assign a variable to an expression which evaluates a numerical value? a) MATLAB shows error b) Nothing happens c) The evaluated values are assigned to a variable (ans) automatically d) Depends on the numerical value 7- Name the functions used, for multiplication of two polynomials p1, and p2 in MATLAB. a) convolution (p1, p2) b) multiply(p1, p2)
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Mechanical Drawings
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, mechanical-engineering and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Elements Of Electromagnetics
Elements Of Electromagnetics
Mechanical Engineering
ISBN:
9780190698614
Author:
Sadiku, Matthew N. O.
Publisher:
Oxford University Press
Mechanics of Materials (10th Edition)
Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:
9780134319650
Author:
Russell C. Hibbeler
Publisher:
PEARSON
Thermodynamics: An Engineering Approach
Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:
9781259822674
Author:
Yunus A. Cengel Dr., Michael A. Boles
Publisher:
McGraw-Hill Education
Control Systems Engineering
Control Systems Engineering
Mechanical Engineering
ISBN:
9781118170519
Author:
Norman S. Nise
Publisher:
WILEY
Mechanics of Materials (MindTap Course List)
Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:
9781337093347
Author:
Barry J. Goodno, James M. Gere
Publisher:
Cengage Learning
Engineering Mechanics: Statics
Engineering Mechanics: Statics
Mechanical Engineering
ISBN:
9781118807330
Author:
James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:
WILEY