What should do when I get this error?... ??? Undefined function or method 'Study_loan_amort_tab' for input arguments of type 'double'.
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
Steven Lord
2022-4-3
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 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!