Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. Using 'roots' function, obtain the root of x+3x-3x-7x+6=0. 2. Create a time vector namely I consists of elements from 0 to 10 with
1. Using 'roots' function, obtain the root of x+3x-3x-7x+6=0. 2. Create a time vector namely I consists of elements from 0 to 10 with increment of 0.5. 3. How to know the size of vector / created above using MATLAB? 4. Create the following matrix and then get the elements in the last row of the matrix. 1 2 1 A=0 1 1 -2 -1 -2] 5. Obtain the inverse of A matrix above. 6. Multiply A and the inverse of A, what do you get? 7. Using a suitable function, obtain the magnitude of this complex number. x=3+4j 8. Generate a plot of this function in the time interval of 0 to 20 second (increment 0.2). y(t)=sin(t) +2t+t 9. With the time interval of 0 to 10 second (increment 0.1), plot these three functions in the same axis (in one graph). y(t) = 1.5sin(t) y2(t) = cos(nt) ys(t)=sin(t) + cos(nt) 10. With the time interval of 0 to 10 second (increment 0.1), plot the three functions above in 3 rows of graph using 'subplot' function. 11. Write a program to compute the sum of the series 12+22+32...., such that the sum is does not exceed 1000. The program should display how many terms are used in the sum. 12. Write your own MATLAB function that converts the user input of length in cm unit to inch unit. Name your function as 'cm2inch'. Run the function to verify.
Step by Step Solution
★★★★★
3.37 Rating (147 Votes )
There are 3 Steps involved in it
Step: 1
1 Roots of a Polynomial Equation The code finds the roots of the polynomial equation x43x33x27x60 It uses the roots function which calculates the roots of a given polynomial Define the coefficients of ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started