Can you help me to write a newton MATLAB code? I have half part of the code and need to finish it. Thanks.
I gave up Thank you.
`Hey,
Note: If you have any queries related the answer please do comment. I would be very happy to resolve all your queries.
clc%clears screen
clear all%clears history
close all%closes all files
format long
f = @(x) x.^2-10;
g=@(x) 2*x;
x0=2;
for i=1:100
x1=x0-f(x0)/g(x0);
if(abs(x1-x0)<1e-5)
break;
end
x0=x1;
end
disp('Root is');
disp(x1);

Kindly revert for any queries
Thanks.
Can you help me to write a newton MATLAB code? I have half part of the...
Please I need help with MATLAB .. PLease help me . Thankyou Write Matlab code to plot a 2D sinc function over a 2D cartesian grid where x ranges from 100 to 355 and y ranges from 0 to 255 and the sinc is centered at somewhere not midway in the grid. First plot the grid, and then plot the function on the grid (both as grayscale and as a surface plot). Comment the code well, generate the figures and...
yes you will need matlab software
Can someone please help me. attached is the exercise i am doing
in matlab. also attached is the exercise that i am suppose to be
doing.also attached is part a of my code and part b. also attached
is an error code i am getting. can someone please help me with
this. thanks. explain in detail what i am doing wrong and what i
need to do to fix it.
you use enogn polnts...
How to write this on matlab ? I have the code from maple .... please help me ... ASAP.... I a: 9 230:= ln ('a't k3 ) 6 C'B'CK]) (3012 ln('a'ck]) d3o Sa, ( ''k)) eso - Conc'a'ck)? SSEL : (enl' b'cic) – en c'a'ox))? SSET = 6 concate) Kat
MATLAB question I need the code
exactly as you would write it in MATLAB. thank you
1. Consider a Gaussian solution of the traveling-wave form ψ(z,t)-exp(-a(z-vt)2). The parameter values are a 1, 2. (a) Explain the physical meaning of these parameters (eg. what would happen if we took a = 10 instead?) Determine the direction of propagation of this solution: Is it traweling to the left or to the right? (2pts) (b) Write a Matlab code to plot the Gaussian...
Circuit Analysis: Need help writing this into MATLAB. I do not
need it in paper I need help putting it into MATLAB. * DO NOT WRITE
ON PAPER* Please use MATLAB and post your code. Thank you.
My work completed. Please help me in make code for the above
circuit ^.
Here is my work for Part 3 that is needed to complete this part
4. ( could not solve the last part)
Part 4. AC Solution by Phasor Analysis...
Can someone help me write a retirement calculator program in c code. I want to write a program that the user can enter their age, amount they wish to save each month, the interest rate, and the age they wish to retire. I would like to use a switch loop, if else loop or do while loop. the output should show them how much they should have in a retirement savings account at the age they wish to retire at....
Image processing Matlab problem. Could you please help me to write a Matlab code to read images, equalize contrasts, covert images to grayscale and binary, then display on same windows. Then perform SOBEL and CANNY edge detection on images. Final make MATLAB to count the number of circles in images (circles and red circles) And how can we distinguish circles by color? and how to count number of red, green and blue circles separately for example.
Can someone help me figure out how to write code on Matlab for
either of these two questions? My biggest problem is working with
the large factorials which Matlab can't seem to handle
1. Write a code to calculate nas a function of ga, when NA l300, 600, 3000, 6000, NB (200, 400, 2000, 4000), and g 100, plot them and try to find some tendency when N increases (hint: 4 plots). 2. Write a code to calculate the probability...
Hi, can someone help me obtain the Figure 1 graph using Matlab?
I need to see the code how you do the DTFT in Matlab. Thanks!
The impulse response of a discrete-time LTI (linear time-invariant) system is, h[n] = Sinna Refer to Table 5.2 in the textbook for the basic discrete-time Fourier transform pairs The frequency response of the LTl system is, H (ejo, Here, H(e") is periodic with period 2 Step 2 of 31 Sketch the frequency response of...
Need help with matlab code. If writing code out please make it
where i can understand and read it. I would prefer to see it in
matlab form. Thanks
Consider the RC Circuit shown below. Assume the excitation is a 10 kHz sine wave with amplitude of 1 volt. Derive expressions for the voltages across the resistor and the capacitor as time functions. Plot the voltages across the resistor and the capacitor over two periods using MATLAB and a reasonable...