
Chloe J.
asked 10/30/19Question is in description. About writing a MATLAB code
USING MATLAB
Write a program that creates a table showing the conversion from Yen too Pesos. Your program should be able to print a user specified number of lines showing the value of the Yen in one column and correlating value of Pesos in the right column. An example of the conversion output follows, with the values of Pesos X’d out.
MAKE SURE the code retrieves a series of exchange rates, at least 2 like between USD & EU and YEN & CNY, over a period of 10, 20 years and plot their evolution.
Lastly, The user should be able to pick the currency pairs (you could limit it to 10 choices), and the time period (you could limit it also based on what your sources offer).
PLEASE SCREENSHOT A PICTURE OF YOUR MATLAB AND COPY AND PASTE YOUR CODE PLEASE!!! It would mean a lot!!!!
1 Expert Answer

Patrick B. answered 08/03/20
Math and computer tutor/teacher
I uploaded a spreadsheet for you that converts the Yen to Pesos, and vice versa...
It is called Yen vs. Pesos, and can be found under this link.
The currency exchange is of 8/2/2020
You can change the conversion constant, and replace it with the correct
currency exchange per Google.
First find how much 1 yen is worth in US dollars, call it A; so 1 yen = $A
Then find how much 1 pesos is worth in US dollars, call it B; so 1 pesos = $B
(The ROUGH ESTIMATES ARE that 1 yen is LESS than a penny and 1 pesos is about 4.5 cents)
Here are the conversion factors, via $1 dollar:
x yen * $A/yen * 1 pesos/$b
so x yen = x*A/B pesos
likewise
n pesos * $B/peso * 1 yen/$A
so n pesos = n*B/A yen
Still looking for help? Get the right answer, fast.
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.
Ethem S.
11/01/19