Determine all values of z for which t is not invertible

Assignment Help Computer Engineering
Reference no: EM133423586

Question: Mathlab coding using Symbolic Math Toolbox

Part (a)

Let n be an odd positive integer. Let M be the n × n matrix whose entry in row i and column j is given by Mi,j = i + j - 2 ( if i + j - 2 < n ) and i + j - 2 - n (otherwise). For example, when n = 3 the matrix

M is [0 1 2: 1 2 0: 2 0 1]

Since the entries of M are integer numbers, the determinant of M is an integer number. Parts (a)-(d) are concerned with discovering the formula for det(M) when n is odd.

write function M that accepts n on input and it returns the matrix M. You can use nested for-loops. Use sym (symbolic numbers) to define the entries of the matrix. You do not need to pre-allocate the matrix before you fill it in.

Part (b)

Make a call to your function M with input 3 to test its correctness, by comparing the output to the 3 × 3 matrix shown above.

Part (c)

For n = 1, 3, 5, . . . compute the determinant of M and its factorization into prime numbers. (For negative numbers, the factorization will also include the "prime" -1.) Note that factor() only permits positive integers on input. You will see a strong pattern in the results. Based on this pattern, guess the formula for det(M) for general odd integer n.

Part (d)

Write Matlab function G that accepts odd integer n on input and it returns your guessed value of the determinant. Remember to use symbolic numbers as you did in part (a). For odd values of n such that 1 ≤ n ≤ 15 verify the correctness of your guessed formula.

Part (e)

Denote by T the following 4 × 4 matrix, where z is a symbolic variable.

T=[z 1 0 0; 3 z 2 0; 0 2 z 3; 0 0 1 z ]

Determine all values of z for which T is not invertible. Do this by solving a suitable equation involving det(T). For each such value of z, substitute it for z in T and determine a basis for the null space of the resulting matrix (which is now free of z). You can use a for loop.

Reference no: EM133423586

Questions Cloud

Inferior user interface design for its intended purpose : Chart the stock for last year against S&P 500 Compare to other stocks such as IBM and MSFT, over a given time period
Distributed homogeneous architecture : Comparison between the performance of a parallel programming implemented in multicore fabric to a distributed homogeneous architecture
Find a rate of diffusion and a rate of nutrient consumption : Find a rate of diffusion and a rate of nutrient consumption so that the tree always has nourishment- Use the formula for diffusion in the section
Define and explain health inequalities : Define and explain health inequalities. How would you advocate for patients, families, and communities ?
Determine all values of z for which t is not invertible : Determine all values of z for which T is not invertible. Do this by solving a suitable equation involving det(T). For each such value of z, substitute
Reflect on whether you believe these collaboration tools : Reflect on whether you believe these collaboration tools are satisfactory and explain your rationale. What are some other tools that you would have wanted
What is the shape of root cap cells that you see : Some cells are lost during this process, but they are soon replaced with new ones formed by the apical meristem. What is the shape of root cap cells that you
Think about the steps in budgeting process : Think about the steps in the budgeting process. What are the most important items to remember to include in your forecasting with a business plan and why?
Calculating the total and average temperature entered : Make another function for the portion of the code that determines the season based on average temp

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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