Frage

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...

etwa 11 Jahre vor | 1 Antwort | 0

Frage

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...

etwa 11 Jahre vor | 0 Antworten | 0

Beantwortet

don't plot the first number on the x axis because it's too near to the y axis

perfect, thanks!

don't plot the first number on the x axis because it's too near to the y axis

perfect, thanks!

etwa 11 Jahre vor | 0

Frage

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) ...

etwa 11 Jahre vor | 2 Antworten | 0

Frage

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 ...

etwa 11 Jahre vor | 2 Antworten | 0

Frage

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 ($)');...

etwa 11 Jahre vor | 1 Antwort | 0

Frage

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...

etwa 11 Jahre vor | 1 Antwort | 0

Beantwortet

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...

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...

etwa 11 Jahre vor | 0

Frage

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...

etwa 11 Jahre vor | 2 Antworten | 0

Frage

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...

etwa 11 Jahre vor | 2 Antworten | 0

Frage

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 ...

etwa 11 Jahre vor | 0 Antworten | 0

Frage

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 ...

etwa 11 Jahre vor | 2 Antworten | 0

Frage

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...

etwa 11 Jahre vor | 0 Antworten | 0

Beantwortet

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...

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...

etwa 11 Jahre vor | 0

Beantwortet

how can I delete a full row based on a if condition?

great, thats working! thank you very much

how can I delete a full row based on a if condition?

great, thats working! thank you very much

etwa 11 Jahre vor | 0

Frage

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...

etwa 11 Jahre vor | 4 Antworten | 0