What should do when I get this error?... ??? Undefined function or method 'Study_loan_amort_tab' for input arguments of type 'double'.

I would like generate an amortization schedule from the following code but I am not able to proceed because of the error. What should I do? I tried answers on Google but they are too complicated for me to understand. Please help me out.
r = 575;
y = 3;
p = 2500;
i = 1.5;
n = 12;
table = Study_loan_amort_tab(r, y, p, i, n);
disp('Mortgage Amortization Table')
s = sprintf('\t\t%s\t\t%s\t\t%s\t\t%s\t%s', ...
' Month', 'Interest', 'Amortz', ' Balance', ' Acc. Int');
??? Undefined function or method 'Study_loan_amort_tab' for input arguments of type 'double'.

댓글 수: 4

Study_loan_amort_tab is a function. It should be in the present working directory. It seems it is not available, so error popped out.
How do I define a function in matlab?
I tried but I am getting another error
It sounds like you're new to MATLAB. If that's the case I suggest you start with the free MATLAB Onramp tutorial (https://www.mathworks.com/support/learn-with-matlab-tutorials.html) to quickly learn the essentials of MATLAB. This should cover calling and writing functions in MATLAB.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

제품

릴리스

R2007b

질문:

2022년 4월 3일

댓글:

2022년 4월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by