Mortgage repayment option in matlab
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Krutik Gamit
le 18 Oct 2021
Réponse apportée : Sulaymon Eshkabilov
le 18 Oct 2021
I have data for 4 years starting from 2015-2019. The array called HP contains house prices [677000,645000,698950,674995]. Interest rate on mortgage(MR) is [0.0397,0.0420,0.0395,0.04510]. And mortage is payed back in 30 years. I want to find the monthly repayment and I am useing this eqution: MP=[P(r/12)(1+r/12)^n]/[(1+r/12]^n)-1]
MP = HP(MR/12)(1+(MR/12))^360]/[(1+(MR/12)^360)-1]
I am not sure what i am doing wrong as I am getting error messages
0 commentaires
Réponse acceptée
Sulaymon Eshkabilov
le 18 Oct 2021
...
MP =(HP.*(MR/12).*(1+MR/12).^360)./(((1+MR/12).^360)-1)
0 commentaires
Plus de réponses (0)
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!