Question

Matlab question:

Loan Payment Table (matrix creation) 0 solutions submitted (max: Unlimited) For a term loan with initial principal (total loa

Are values in the first row of the table correct? (Pretest) Test Code: 1 % Get reference solution. 2 MPTReference- referenceV

there are some pretest provided and the Matlab code should not include any loops.

Loan Payment Table (matrix creation) 0 solutions submitted (max: Unlimited) For a term loan with initial principal (total loan amount) value of P, the monthly payment A can be computed with the formula: Where i is the monthly interest rate (decimal value), computed from an annual rate (decimal value not percent)ras/12, and n is the number of months in the term of the loan Consider a $100,000 loan. Write a script that generates a 3-column matrix of monthly payment options for terms of 5, , and years respectively with rows corresponding to annual 4.Uto o% in increments of U. 1.23% . interest rates ranging from 4.e o o f 0.125e Assign the matrix to a double precision variable named MonthlyPaymentTable Solve this problem using only vectorized code with no loops
Are values in the first row of the table correct? (Pretest) Test Code: 1 % Get reference solution. 2 MPTReference- referenceVariables.MonthlyPaymentTable; 3 firstRowRef - MPTReference(1,:); 4 5%Extract data from learner solution 6 firstRow - MonthlyPaymentTable(1,:); 8% Compare with learner solution. 9 assessVariableEqual ('firstRow', firstRowRef) Are values in the first column correct? (Pretest) / Test Code: 1% Get reference solution. 2 MPTReference - referenceVariables.MonthlyPaymentTable; 3 firstColRef - MPTReference(,1) 4 5%Extract data from learner solution 6 firstCol - MonthlyPaymentTable(:,1); 7 8% compare with learner solution. 9 assessVariableEqual('firstCol', firstColRef)
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Are values in the first row of the table correct? (Pretest) Test Code: 1 % Get reference solution. 2 MPTReference- referenceV

Add a comment
Know the answer?
Add Answer to:
Matlab question: there are some pretest provided and the Matlab code should not include any loops. Loan Payment Table (matrix creation) 0 solutions submitted (max: Unlimited) For a term loan with in...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Attached is the excel. The solutions are already there. I just need the function formulas to...

    Attached is the excel. The solutions are already there. I just need the function formulas to put in the box to get that answer. If you could just Put exactly what you put in the function box to get these solutions ! Also answer the brief question at the bottom of each question ?? Josh Cordova?-D AutoSave ! ? : Book2 Excel File Home Insert Draw Page LayoutFormulasData Review View Help Power Pvot Tell me what you want to do...

  • the picture above is the one you are supposed to use for the MATlab code please...

    the picture above is the one you are supposed to use for the MATlab code please help Problems. Grayscale images are composed of a 2D matrix of light intensities from O (Black) to 255 (White). In this lab you will be using grayscale images and do 2D-array operations along with loops and iflelse branches. 1. We can regard 2D grayscale images as 2D arrays. Now load the provided image of scientists at the Solvay Conference in 1927 using the imread)...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT