Simple mortgage calculator

버전 1.0.0.0 (1.81 KB) 작성자: Samuel Cheng
A simple mortgage calculator that will output the monthly payment, the remaining balance, and so on.
다운로드 수: 900
업데이트 날짜: 2012/8/31

라이선스 보기

% Computer mortgage payment and the respective interest paid each month
%
% Inputs
% L: size of the loan
% rate: annual rate
% years: length of loan in years
%
% Outputs
% P: monthly payment
% In: list of interests paid over the entire loan period
% Ba: Remaining balane over the entire loan period

% please run mortgage_example for detail
% below is an excerpt.

years=20;
annual_rate=0.04; % 4% annual rate
house_value=150000;
downpayment=0.25; % 25% down

loan_size=house_value*(1-downpayment);

[P,In,Ba]=compute_mortgage(loan_size,annual_rate,years);

인용 양식

Samuel Cheng (2024). Simple mortgage calculator (https://www.mathworks.com/matlabcentral/fileexchange/37968-simple-mortgage-calculator), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2011a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0