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

  Find two messages with the same message digest

Why is it so important that it be difficult to find two messages with the same message digest?

  What is the duration of the critical path of the network

What is the duration of the critical path of this network. What is the float for activity G. What is the total float of activity E.

  Briefly describe the action of the examine on instruction

Briefly describe the action of the Examine OFF instruction.

  Questiona computer has 16 pages of virtual address space

questiona computer has 16 pages of virtual address space except only four physical pages. firstly physical memory is

  What are computer information transactions

Computer information transactions involve licenses, not sales.Small companies play a more important role in the computer information industry than many other industries.

  What your relationship would be like with the technical

What instances of collaberation and communications do you and the technical staff explore.

  Discuss the input-process-output model

Software engineering should always be preceded with some sort of analysis and design tactics. So far this session, you have learned about many considerations.

  Define technical feasibility and organizational feasibility

ISM Assessment- Define technical feasibility and organizational feasibility. Your response should be at least 200 words in length.

  Show prompts for a customer to deposit

make a Bank Account class that will allow you to deposit, withdraw and check your balance as well as sign up for non-fee no interest bearing savings account as well as a fee-based account that accrues interest on a daily basis for savings accounts..

  How many different instructions can our machine have

If we lengthen the opcodes for register instructions how many different instructions (in principle) can our machine have. Show why.

  How to perform a removal from a hash table

How to perform a removal from a hash table that uses linear probing to resolve collisions where we do not use a special marker to represent deleted elements.

  Write a program for a university registration system

Your program will select the actual class size randomly. The size is selected randomly and must be between half of the maximum and the maximum inclusive.

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