matlab assignment, Simulation in MATLAB

Assignment Help:
Create a Matlab function called question3 which finds the root of an equation numerically by using the following recursive formula:

xn+1 = x n – f(x n)/g(x n) , for n =1,2,3,……

where g(x n) = (f(x n +f(x n ))-f(x n ))/f(x n ) . This iterative procedure must stop when the absolute difference between x n and xn+1 is less than a given tolerance epsilon. The function must accept as inputs , a scalar function ‘f’, an initial number ‘x’ and a positive number ‘epsilon’ to terminate the procedure. Hence use this numerical technique to find the root of the equation ex –x2 =0

Related Discussions:- matlab assignment

Quantize the audio samples, Using the audiorecorder() function in MATLAB, m...

Using the audiorecorder() function in MATLAB, make a recording of your voice. Use a sample rate of 8kHz, 16 bits per sample, and aim to record around 2 seconds worth. Quantize t

Desktop setup and introduction to matlab, We learned how to set up our Desk...

We learned how to set up our Desktop on the CAD Lab computer. We created a Matlab shortcut on the Desktop and a CE199 folder for our work. We also learned to type some basic Matlab

Image processing, how to find the max values of an rgb image and their resp...

how to find the max values of an rgb image and their respective pixel position?

Convertions, If I wanted to convert .04 acers per second into 48 hours how ...

If I wanted to convert .04 acers per second into 48 hours how would I approach this

Discrete-time response of the system , Consider the control system with a c...

Consider the control system with a controller explained by D(s) = 8.0/s   (a) Using MATLAB, contain the discrete-time unit step response of the system for t=10 seconds        (b

Pid tuning methods, The scope of work is to investigate and report PID tuni...

The scope of work is to investigate and report PID tuning methods and to confirm their suitability for 2nd and 3rd Order Servo Mechanisms on a simulated system model utilising Matl

Neural network, create neural network of 1 layer 3 neurons and logsigmoid t...

create neural network of 1 layer 3 neurons and logsigmoid transfer function

Transfer function, d^3y/dt^3 - 3d^2y/dt^2 + 4dy/dt + 8y =4d^2x/dt^2 - 2dx/d...

d^3y/dt^3 - 3d^2y/dt^2 + 4dy/dt + 8y =4d^2x/dt^2 - 2dx/dt + x

Forloops, 1-1/3+1/5-1/7+1/9-...-1/1003

1-1/3+1/5-1/7+1/9-...-1/1003

Write Your Message!

Captcha
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