Top 5% contributor
Hello all Here is the code to retrieve dividend information from yahoo (make it simple). %%%%% function[gfdata, gfstatus,url,dat...
2 years ago
I dont understand well the integral expression and limits of integration. To solve numerically integrals in Matl...
Answered 2 years ago
Procedure 1 (no poly function)
To write polynomial function and evaluate in some interval of X1
Im going to use the following function (it comes in Matlab help/mesh function).
[X,Y] = meshgrid(-8:...
The first column is a dummy variable (1,2) and as Oleg says the column count in 1 and 2 are different. Next, I de...
I test the swapbyzero function in Matlab R2012a and find an error compared with Matlab R2009b. The old version do a...
Asked 2 years ago
I just start checking UCSD GARCH toolbox. Once you get the H value for the lbqtest of the square residuals equa...
I just talk with professor Sheppard. There is a new toolbox MFE with the same functionalities. Erase UCSD Toolb...
Im going to create a structure to try to understand you better.
Hello all Here is the code to retrieve dividend information from yahoo (make it simple). %%%%% function[data]=dividendyahoo(Tick...
What is the purpose of this code ??? Does the variable j change size in each iteration ? If not, do not define it....
Go to the help of Matlab (mine M2012Ra) and search for "Updating Your Random Number Generator Syntax"
for i = 1:4
Ok big issue here but not impossible. The following procedure works in Matlab R2012a.
Import 3 files...
This is what you have to do. In this case, data has 5 columns.
Step 1 (define the names)
Procedure done in Matlab R2012.
The problem that you want to solve gives complex solution for Z for arbitrary X and Y in [-1....
Procedure to Get Price (EURUSD) with 4 decimals here.If yahoo doesnt allow you go the data , you can go to fred pa...
Hello Mate 2u
Procedure to get Current Price (15 minutes delay, what yahoo gives you) here.
%Retrieving last price from Ya...
I think you are confuse. Lets put some numbers in return calculation.
Price Annual Return
As Daniel says. there must be a number of question. Financial toolbox allow you to value different assets. Here I s...
Step 1 Time estimation
Years in 285 weeks....one year has 52 weeks. Then Y=285/52=5.48.
Step 2 Calculation interest rate
There is no need to do a loop. What you have to do is define the RateStructure with your 1000 interest rate struc...
Join the conversation