Question


how can I create a plot with box the density function of a normal distribution and a log normal distribution
I would like to have both: a) a plot with the density function of a normal distributed random variable and the densitiy funct...

ongeveer 11 jaar ago | 1 answer | 0

1

answer

Question


lot chart with the respective date on the x axis starting with the first date for the first data point
dates=datenum(VIXdate) y=VIX plot(dates,y) d=datevec(dates) d=d(:,1) [a,idx]=unique(d) ylabel('V...

ongeveer 11 jaar ago | 0 answers | 0

0

answers

Answered
don't plot the first number on the x axis because it's too near to the y axis
perfect, thanks!

ongeveer 11 jaar ago | 0

Question


don't plot the first number on the x axis because it's too near to the y axis
x=[0:0.01:20] y1=blsprice(x,10,0.02,0.2,0.2)-blsprice(10,10,0.02,0.2,0.2) y2=max(x-10,0)-blsprice(10,10,0.02,0.2,0.2) ...

ongeveer 11 jaar ago | 2 answers | 0

2

answers

Question


plot chart with the respective date on the x axis
Hi, I have a data set with two columns, in the second there are daily historical data which I would like to plot. This is no ...

ongeveer 11 jaar ago | 2 answers | 0

2

answers

Question


changing the axis of a plot
x=[0:0.01:20] y=max(x-10,0)-blsprice(10,10,0.02,0.2,0.2) plot(x,y) xlabel('Stock Price at Maturity ($)');...

ongeveer 11 jaar ago | 1 answer | 0

1

answer

Question


how to plot the payoff of an call/put option with matlab
how can I plot: - intrinsic value of a call/put option in matlab? - how can I plot the call/put value including the time v...

ongeveer 11 jaar ago | 1 answer | 0

1

answer

Answered
loop through a matrix and display the number of elements until the same value occcurs based on two columns of the matrix
sorry, I think I didn't make myself quite clear because all startet with another question here in the forum. I am looking for...

ongeveer 11 jaar ago | 0

Question


loop through a matrix and display the number of elements until the same value occcurs based on two columns of the matrix
below you find the data I am reffering to K PC Price T date r moneyness 1160 1 111.95 0.052055 734506 0.0026425 1.09...

ongeveer 11 jaar ago | 2 answers | 0

2

answers

Question


loop through a column and display the number of elements until the same value occcurs
Hi, how am I able to loop through a coulmn and get as the output the numbers of rowselement between the first and the next el...

ongeveer 11 jaar ago | 2 answers | 0

2

answers

Question


find optionsdata from a matrix
hi, I have a matrix consisting of option data, sorted by date in ascending order. For each day there are several optionprice ...

ongeveer 11 jaar ago | 0 answers | 0

0

answers

Answered
deleting a full colum using
thanks!

ongeveer 11 jaar ago | 0

Question


deleting a full colum using
I have a matrix with several optionprice data. Now I am trying to delete rows based on a for loop and if criteria. if the value ...

ongeveer 11 jaar ago | 2 answers | 0

2

answers

Question


error message occcurs when using the black model in matlab to compute the implied volatility
hi, I have the following problem: I would like to compute the implied volatility using the black model for options on futu...

ongeveer 11 jaar ago | 0 answers | 0

0

answers

Answered
how can I delete a full row based on a if condition?
I am still not sure how does should work. For example, I have the following matrix: 1270.35 1110 2 0.5250 0.052 734506 0.002...

ongeveer 11 jaar ago | 0

Answered
how can I delete a full row based on a if condition?
great, thats working! thank you very much

ongeveer 11 jaar ago | 0

Question


how can I delete a full row based on a if condition?
for example if I have a matrix with call (1) and putoption (2) data and I would like to have only the calloption data. Iwas thin...

ongeveer 11 jaar ago | 4 answers | 0

4

answers