How to do a MATLAB Assignment?
5 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Youssef Khmou
on 24 Mar 2013
Edited: Youssef Khmou
on 24 Mar 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.
0 Comments
See Also
Categories
Find more on Biological Physics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!