MATLAB 프로그래밍
- 최초 등록일
- 2014.03.26
- 최종 저작일
- 2010.12
- 10페이지/ 한컴오피스
- 가격 2,000원
목차
1. 가위치법(False position method)
2. 수정된 가위치법(Modified false position method)
3. 할선법(Secant method)
4. Gauss-Seidel (책에 있음, 이해하고 옆에 주석을 달아서 제출하든지 아니면 직접 짜보기 바람)
5. 역행렬 구하기(책에 있는 Naive Gauss Elimination을 이용하여 역행렬 구하는 프로그램을 짤 것)
본문내용
function FalsePosition(func,x1,x2,error_val,Max_val)
n = nargin;
while (n~=5)
switch n
case 0
f = input('Please Define Function f\n f(x) = ','s');
func = inline(f);
case 1
x1 = input('Input First initial value\n x1= ');
case 2
x2 = input('Input second initial value\n x2= ');
case 3
error_val = 1e-6;
case 4
Max_val = 50;
end
n = n+1;
참고 자료
없음