Write a valid matlab statement

Assignment Help MATLAB Programming
Reference no: EM131737942

Question 1:
Write a valid MATLAB statement to calculate the value of X.

X = 1/(2 + 3)2 + 4/5 x 6/7

Question 2:
What values will be contained by the following row vector rv?

>> rv = [3 55 11]

>> rv(4) = 2

rv = ?

Question 3:
The following MATLAB statement will do what?
A = [2:4; 3:5]

Question 4:
What will be the value of A(2,3) after execution of both the statements given below?
>>A = [2:4; 3:5]
>>A(2,3)

Question 5:
Describe the following expressions in sequential order.

>>mat = [2:4; 3:5];
>>mat(1,2) = 11
>>mat(2,:) = 5:7

Question 6:
A polynomial function p1(x) is given below. Write MATLAB statement(s) to find its roots.

p1(x) = 4x4 + 5x3 - 27 x2 - 25x - 20

Question 7:
Another polynomial p5(x) is given below. Write MATLAB statement (s) to find It's value when x = -4. Also calculate the value manually and submit the result.

p5(x) = x6 + 2x5 - 4x3 -4x2 + 3x + 2

Question 8:
Write MATLAB statements to plot the following waveform in the interval 0≤t≤5. Also write statements to label X-axis as t and Y-axis as f(t).

y = f(t) = 5e-2tcos3t -3e-4tsin2t + t2/t+1

Hint: use the statement t = 0: 0.01: 5; to define the interval.

Question 9:

Write MATLAB statements to save as ASCII text file the following waveform in the time interval 0≤t≤1. The time interval is to be split into 1024 points.

y = sin(10θt) + 1/3 sin(30θt)

Question 10:
Refer to the worksheet image given below - you want to calculate the equivalent CO2 emission in Kg in column K based on the Electricity usage in kWh per month. A conversion factor of 0.573 is used to convert Electricity consumption in kWh to equivalent CO2 in Kg. What formula will you use in cell K2 to do this conversion?

Question 11:

Refer to the following worksheet - you want to calculate the average monthly productions (in pieces) between the periods of January to December, which will be 131,200 pieces as indicated in cell k2. Write the correct form of function "average" to do this calculation.

2115_workbook.jpg

Question 12:
In order to modify the current style of your worksheet components, which tab, under the ribbon, you need to be on?

Question 13:
Refer to the worksheet below - you want to evaluate in Column G whether the daily sales of your company in Column F reaches the daily sales target of $30,000.00 or not. If it reaches the target, you want to display Y, if not you want to display N in the cells of column G. Write a conditional IF function that you can invoke in cell G3 to do this.

141_workbook1.jpg

Verified Expert

The problem is related to matrix formulation, root finding of the polynomial function and inserts new element to the row of the matrix in Matlab. This problem is also related to modifying the style in Excel sheet and formulate logical statement in excel. Excel and Matlab software have been used. The report is prepared by MS word.

Reference no: EM131737942

Questions Cloud

What ethical issue does this raise for law enforcement : What ethical issue does this raise for law enforcement, Do you think this can be justified to citizens under any circumstances
Write a thoughtful and analytic paper : write a thoughtful and analytic paper detailing significant developmental topics about your experience of raising a "virtual child."
Necessity is it linked to the experience of evil : What, however, is the meaning of this statement, and what specifically does the "thought of freedom" refer to
Though role society has taken the position : In conclusion, even though role society has taken the position on free will and evil do not exist, other people believe free will is a representation of evil.
Write a valid matlab statement : Write a valid MATLAB statement to calculate the value of X - What will be the value of A(2,3) after execution of both the statements given
Discuss your views on the justification for punishment : Discuss your views on the justification for punishment. If you knew for certain that prison did not deter, would you still be in favor of its use. Why
Discuss sex offenders and sex offenses : consenting adults using the Internet to engage in adult activities
Describe the rules of substantive law : Alex was on a coast-to-coast trip by automobile. While passing through Ohio, Alex had a flat tire. It was fixed by Sam's Turnpike Service Station.
Complete actuality is the self that produces : In the decision for evil-not wholly, but perhaps at the level of a certain contamination of which he is not sufficiently mindful.

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

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