How to do a MATLAB Assignment?

5 ビュー (過去 30 日間)
Mohammed Fawzan
Mohammed Fawzan 2013 年 3 月 24 日
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

回答 (1 件)

Youssef  Khmou
Youssef Khmou 2013 年 3 月 24 日
編集済み: Youssef Khmou 2013 年 3 月 24 日
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.

カテゴリ

Help Center および File ExchangeBiological Physics についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by