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 CenterFile Exchange에서 Biological Physics에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by