Community Profile

photo

Locks


2013년부터 활동

Followers: 0   Following: 0

연락

통계

  • Thankful Level 5

배지 보기

Feeds

보기 기준

질문


Find first non NaN element in a column of a matrix
Hi, I have a realtively large Matrix with time series data. each column stands for one series. given a variable that defines ...

8년 초과 전 | 답변 수: 3 | 0

3

답변

질문


Changing number of dates shown on xaxis
Hi, I have a plot with time series data of roughly 2 years. When I plot the series, I insert datetick('x','mmmyyyy'); to Format ...

8년 초과 전 | 답변 수: 1 | 0

1

답변

질문


changing axis values into names
Hi, I have the following Problem: I created a variable that is either 1 or -1, depending on other factors, which are irrel...

9년 초과 전 | 답변 수: 2 | 0

2

답변

질문


add circles to starting and ending point of a line
Hi, I am looking for a way to add a circle at both Ends of a line, as done manually in the Picture shown in the Appendix. ...

9년 초과 전 | 답변 수: 2 | 0

2

답변

질문


draw lines based on coordinates
Hi, I am looking for a way to add a line to a convex function based on the coordinates. I have a convex funtion going from...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


3D plot including different colors
Hi, I'd like to create a 3-D Chart and be able to manipulate the axis in order to see the Dates. the code I completed so far ...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


convert number to string but keep it the same as it is
Hi, I have a Matrix containing different time series and I gave them numbers (2000001, 2000002,2000003 etc.) and I would lik...

9년 초과 전 | 답변 수: 3 | 0

3

답변

질문


add legend of a plot when names of each time series are saved in a vector
Hi, I have the following Problem: The matrix I would like to plot containes the Dates in the first column and the differe...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


vlookup equivalent function in matlab to add data where an input exist
Hi, I have the following problem and did not find any solution that is helping me to get the problem fixed. First there i...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


add column to matrix that allows to identify series
Hi, I have the following problem: I constructed a matrix from several timeseries and I need to add a column to the matrix ...

9년 초과 전 | 답변 수: 2 | 0

2

답변

질문


create a new matrix for every iteration of a loop
Hi, I have the following problem: for k=1:10 varOfInt=strcat('mydata',num2str(k)) genvarname(varOfInt) end D...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


error message ()-indexing must appear last in an index
Hi, I have the code below and when I try to run it, I get the error message ()-indexing must appear last in an index expressi...

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


function I do not really understand, could somebody give me a hint?
Hi, I have received a function which consists of several furnctions, but I have some problems to see what is going on here. ...

거의 11년 전 | 답변 수: 2 | 0

2

답변

질문


do not display value on the axis
Hi, I am looking for a code that allows me to plot a figure where there are no value displayed on the x axis I tried to us...

거의 11년 전 | 답변 수: 2 | 0

2

답변

질문


command for which the label on the x axis is not shown
Hi, I am looking for a command so that there are no values on the x axis shown. I tried this; set(gca,'xtick',[]) ...

거의 11년 전 | 답변 수: 3 | 0

3

답변

질문


plot data instead of number on the xaxis
Hi, I have the following problem: I would like to plot two time series in the same graph which is working fine, but I would like...

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


get an error message by running a large code
When I run a large code, I get the following error message, unfortunately I have no idea where it could come from or what I need...

거의 11년 전 | 답변 수: 1 | 1

1

답변

질문


using vectors as inputs for a function
Hi, I have this function here: function HestonCallPriceF x0 = [1.1768 0.082259 0.83746 -0.54589]; %parameters: ...

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


plot the distribution of a dataset
Hi, I have a time series and I would like to plot the pdf of an empirical and the lognormal distribution with the same mean a...

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


show month and year of a dataseries on the x axis
Hi, I have this code which displays the respective year on the x axis %SPX SPX=dataSet(:,2); %VIX VIX=dataS...

거의 11년 전 | 답변 수: 2 | 0

2

답변

질문


code does gives me an error message if I execute it with F5, but if I mark the full code and press F9, its working
Hi, I have this code here: S0=10 K=10 T=0.2 Tt=0.05 Vola=0.2 r=0.02 x=[0:0.001:20]; y1=bl...

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


show all rows where value in column 13 is equal to a specific number
Hi, I know that I can display all elements of the first column of a matrix that are larger than 1500 by using this command:...

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


delete rows based on whether the day is a wednesday or not
Hi, I have a dataset with 18 columns and thousands of rows. In column 6 is always the date of the respective row. I would now...

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


select data from an existing dataset based on the weekday
Hi, I have a matrix with 18 columns and over 100'000 rows and in each rows there are stored different characteristic for a sp...

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


random walk in matlab without the econometrics toolbox
Hi, I am looking for a way to create a random walk in matlab without having the financial toolbox

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


change scales from the x axis
Hi, I intend to do a chart with two yaxis, the code is the following: dates=datenum(dataSet(:,1)); %SPX SP...

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


find out in which row an element is equal to a specific number
hi, I have the following problem: I have a matrix with 20 columns and over 200'000 rows. somewhere in this matrix there se...

거의 11년 전 | 답변 수: 4 | 0

4

답변

질문


add elements to an existing vector
Hi, I have a vector where I would like to add 5 NaN at the beginning. When I am doing it for one NaN, it's working fine, bu...

거의 11년 전 | 답변 수: 2 | 1

2

답변

질문


changing the axis of a plot in a way that the data series starts at x=0 at a point at one point on the y-axis and ends on the right end of the plot
hi, I have this code: dates=datenum(VIXdate) y=VIX plot(dates,y) %datevc divides the date in diff...

거의 11년 전 | 답변 수: 3 | 0

3

답변

질문


using a function that is similar to polyfit but with two linear terms
Hi, I am looking for a matlab function that is working similar to polyfit, but where I can use two different input function b...

거의 11년 전 | 답변 수: 2 | 0

2

답변

더 보기