Suppose that x is a vector that allready exists

Assignment Help Computer Engineering
Reference no: EM1333171

Simple matlab questions need solved, given step by step answers as how the code flows, works, etc to get the answers.

Which is the correct matlab logical expression to check whether the value of x is between -10 and 10 (inclusive)?

a) -10 <= x <=10
b) -10<= x, X <= 10
c) x>=-10 & X<=10
d) x>=-10| x<=10
e) none

Assuming that x is a vector that allready exists, what is the value of y after the following code is executed?

y = x(1);
for k=2:length(x)
if x(k) >y
y=x(k);
end
end

a) the last element in x
b) the first elemtn in x
c) the max element in x
d) the min element in x
e) none

add one or two statements to complete the following code that implements question 12 using vectors instead of a loop.

x=1.5;
N=50;
k=[0:2:100];

Which of the following is the corect code to determine y=1 + 1/x+1/x^2+1/x^3..+1/x^N until the last term is less than 10^-8, using x=1.5

and is c) but why?? x=1.5; k=0; y=o; term=1/(x^k); while term >= 1e-8; y=y+term

Reference no: EM1333171

Questions Cloud

Computation of value of ibm : Examine the structure and activities in your reference organization and identify two projects or events that required an investment. One should be current and the other non-current.
Incremental cost of buying the containers : Should Curtis make or buy the containers? What is the incremental cost (benefit) of buying the containers as opposed to making them?
The primary period had been compound growth rate : The primary period had been 10 years, what would the compound growth rate have been then. What would you expect the sales to be after 16 more years.
Personal relationship with the employees : We have learned that employees want to feel valued and valuable and We have also learned that salary and benefits can only go so far. Each manager needs to have a personal relationship with the employees.
Suppose that x is a vector that allready exists : Which is the right matlab logical expression to check whether the value of x is between -10 and 10 (inclusive).
Computing rate of return-capm : CAPM and required return: Calculate the required rate of return for Manning Enterprises, assuming that investors expect a 3.5 percent rate of inflation in the future.
Research in operation management about general electric : Research in operation management about General Electric Company and discuss about history of the company and operation/process design.
Explain sources needed for literature study : Explain Sources needed for literature study and Any information might be complimentary to the little bit
Illustrate what is the current expected price of the stock : Illustrate what is the current expected price of the stock. What is the expected price of the stock at Year 6.

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