How to do a MATLAB Assignment?

5 Ansichten (letzte 30 Tage)
Mohammed Fawzan
Mohammed Fawzan am 24 Mär. 2013
Hi everyone, I have a assignment to submit on matlab in 2 weeks. It is under the topic of Numerical Methods. The good news is , I don't have a problem in coding. But I have no Idea where to start the project. Can anyone please help me . I Have 2 problems on Newton Raphson method & Fixed point iteration. There I have to solve them using Matlab. Should I use GUI to Demonstrate the answer or Just use functions and Command line to run ? Any help would be appreciated.
-Regards

Antworten (1)

Youssef  Khmou
Youssef Khmou am 24 Mär. 2013
Bearbeitet: Youssef Khmou am 24 Mär. 2013
hi,
Unless you are asked to put your programs in GUI, you dont need Graphical user interface :
you start by creating your two functions :
M=Newton_Raphson(S,e);
M2=Fixed_Point(S,e);
Where S is matrix that contains the data to process, and e is parameter like a tolerance, you can add other parameters, and the outputs M / M2 are the solutions of the problem( equation) .
Create three Files : 2 files for functions Newton_Raphson.m and Fixed_Point.m and the third file for testing both the two methods on the same data and conclude.

Kategorien

Mehr zu Biological Physics finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by