Write a function in matlab that takes as input the number

Assignment Help Computer Engineering
Reference no: EM132199257

Write a function in Matlab that takes as input the number n and a symmetric tridiagonal matrix given as two vectors: n×1 vector v representing the main diagonal and (n-1)×1 vector w representing the upper diagonal. Have this function output the Cholesky factor of the matrix as a vector for the main diagonal and a vector for the upper diagonal and output the number of flops and, separately, the number of square roots used as well. Use only basic programming.

(a) Write out or print out your function.

(b) Run the case with v =2*ones(10,1), w = -ones(9,1) and write out or print out all your results.

(c) Rune the case with v =2*ones(100,1), w =-ones(99,1) and write out or print out your results just for the number of flops and square roots used. How many times more flops are used than in the previous case?

Reference no: EM132199257

Questions Cloud

The belated lab tests case study : This unit’s exercise continues the “Belated Lab Tests” case study that we started in Unit 2.
Establish shanghai-hong kong stock connect : What is the purpose and goals of China government to establish Shanghai-Hong Kong Stock Connect
Explain the steps the australian company like woolworth : Explain the steps the Australian company like Woolworth/Coles taken on how it distribute/circulate its financial/annual report to its shareholder?
What is the after tax cost of preferred stock : What is the after tax cost of preferred stock for my company if the flotation costs I will be charged are 5.5% of the par value?
Write a function in matlab that takes as input the number : Write a function in Matlab that takes as input the number n and a symmetric tridiagonal matrix given as two vectors.
Write a function mirror that will receive one input vector : Write a function mirror that will receive one input vector consisting of y coordinates of data points.
Retained earnings for sartell golfing association : The cost of retained earnings for Sartell Golfing Association would be 16.64% if the firm just paid a $4.00 dividend, the stock price is currently $50.00
Write an array to a file and then using the function : Demonstrates these functions by using the arrayToFile function to write an array to a file, and then using the fileToArray function to read.
Riskiness of two capital budgeting projects : The following table summarizes the NPV & associated (NPV) probabilities for various outcomes of the two projects

Reviews

Write a Review

Computer Engineering Questions & Answers

  Describe the steps required to implement an audit program

List and describe the steps and tasks required to implement an audit program. In addition, describe the audit class(es) that would be applicable to your.

  Computer logic and architecture

Convert 0.10112 to decimal using he conventional polynomial method. Convert 0.10112 to decimal using the radix multiply method.

  How is parity checking implemented in the memory module

How is parity checking implemented in the memory module? How are errors detected, and what happens when an error is detected?

  What you originally proposed in your business proposal

What have you done, or what can you do, to remedy this problem? Has your project shifted scope at all from what you originally proposed in your business proposal to Shaggy Chic Groomers?

  Determine the term enterprise system and how can this

write a 200- to 300-word short answer response that addresses the followingwhat is an enterprise system and how can

  The first ten elements in the periodic table

Create a list of tuples that holds the information about the first 10 elements in the periodic table .

  Create a small business network for an independent retail

Create a small business network for an independent retail store or restaurant. They are looking for a company to give them a cost for equipment.

  Write a recursive function to traverse a binary tree

Write a method and the corresponding recursive function to traverse a binary tree (in whatever order you find convenient) and dispose of all its nodes.

  Discuss command do when typed in kali linux''s terminal

What did the following command do when typed in Kali Linux's terminal

  Writing into file utilizing fileinputstream

Write down an application utilizing the FileInputStream which opens a file which consists of the name of user's favourite book and then show it to the user.

  Research and describe a tool that can be used to test

Research and describe a tool that can be used to test for web server vulnerabilities.

  What transform a network to a secure network

How do I transform a network to the secure network? What tools should I have and what kind of hardware do I need to have a basic secure network.

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