Question

import file that consists of several vector in a way that I see each vector seperately and not in a structure

Hi, I know that it's possible to load a matlab file with the following command: filename = '2001-2010.mat'; importdata(...

meer dan 6 jaar ago | 1 answer | 0

Answered

error message using polynom

thanks a lot, it seems as I should exclude those values, they do not seem reasonable

error message using polynom

thanks a lot, it seems as I should exclude those values, they do not seem reasonable

meer dan 6 jaar ago | 0

Question

error message using polynom

hi, I have the following code: data16=zeros(size(data12,1),16); data16(:,1:12)=data12; numberEl=length(dat...

meer dan 6 jaar ago | 3 answers | 0

Question

How can I see just a couple of datapoint based on a specific criteria

I have a dataset that consists of <63192x10 double> where I would like to see those rows where the column 10 is equal to 1 I ...

meer dan 6 jaar ago | 1 answer | 0

Question

delete rows based on whether the value in column 10 of the respective row is equal to one or not

Hi, I tried to solve the problem described above with the following formula: dataset=[dataset,delete]; ro...

meer dan 6 jaar ago | 1 answer | 0

Question

improve efficiency of a matlab code that includes for loop and if statement

I have the followig script which I am running for a matrix that consists of several thousand rows and which makes the full ccode...

meer dan 6 jaar ago | 1 answer | 0

Question

error message using polyfit (nonlinear regression)

hi, I get the following error meesage using the polyfit function: Warning: Polynomial is badly conditioned. Add points w...

meer dan 6 jaar ago | 3 answers | 0

Question

calculate annualized Standard deviation for data that consists of several years

hi, I tried to compute the annualized standard deviation for data which consists of data from 8 complete years. is there a gi...

meer dan 6 jaar ago | 1 answer | 0

Question

create plot with two different y axis

Hi, I have a plot for two different time series which both must be shown in the same figure. the problem is now, that for one...

meer dan 6 jaar ago | 1 answer | 0

Question

error message using polyfit (nonlinear regression)

hi, I get the following error meesage: Warning: Polynomial is not unique; degree >= number of data points. > In ...

meer dan 6 jaar ago | 1 answer | 0

Question

create vector that consists only of zeroes

hi, I tried to create a vector that consists only of zeroes and tried the following: error=zeroes(length(data13(:,1))) ...

meer dan 6 jaar ago | 2 answers | 0

Question

mark several line of code as comment

hi, I know that the % sign is used to make code to comment, but unfortunately I am not able to do this for a whole paragraph,...

meer dan 6 jaar ago | 3 answers | 0

Answered

if loop that is not working properly, row should be deleted based on several criterias but do not

awesome, this is working. Could you shortly explain me what rowsToDelete is doing? I get just zeros and from what I know zero me...

if loop that is not working properly, row should be deleted based on several criterias but do not

awesome, this is working. Could you shortly explain me what rowsToDelete is doing? I get just zeros and from what I know zero me...

meer dan 6 jaar ago | 0

Question

if loop that is not working properly, row should be deleted based on several criterias but do not

hi, I have a matrix with 8 columns and I would like to delete those rows where the value of column 8 exceeds 1.1 or is below ...

meer dan 6 jaar ago | 2 answers | 0

Question

add editor to te command window in matlab

hi, then I run a script, the editor opens in a separate file, but I would prefer to see the editor with the script above the ...

meer dan 6 jaar ago | 3 answers | 5

Answered

use of msgbox in matlab

What do I need to do if I would like to see which value the i has, which runs form 1 to 1000?

use of msgbox in matlab

What do I need to do if I would like to see which value the i has, which runs form 1 to 1000?

meer dan 6 jaar ago | 0

Question

use of msgbox in matlab

hi, I tried to use the msgbox function in matlab, which I found here: http://www.mathworks.ch/ch/help/matlab/ref/msgbox.ht...

meer dan 6 jaar ago | 3 answers | 0

Question

Index exceeds matrix dimensions.

hi, I have used this code here: for i=1:length(data8(:,1)) if(data8(i,8)>1.1) data8(i,:) = []; end i...

meer dan 6 jaar ago | 1 answer | 0

Question

add vector to an existing matrix

hi, I have the follogin problem: I have a matrix cosisting of 8 columns and 19599 rows and I would first generate a column ve...

meer dan 6 jaar ago | 2 answers | 0

Question

import data from excel into matlab gives false date

hi, I have importet data from excel into matlab using the following code: filename = 'vola_regimes.xlsx'; sheet = 1; ...

meer dan 6 jaar ago | 1 answer | 0

Question

times sign in matlab

Hi, I am looking for a sign with I can use to write the times-sing (*), but in the midddle. I used this: text(8.3,1,'\del...

meer dan 6 jaar ago | 2 answers | 0

Question

joining two arrays to make a longer one

If I have two arrays, lets say the first is called a and the second is called b, I am aware of the fact that I can combine them ...

meer dan 6 jaar ago | 2 answers | 0

Question

select certain rows of a matrix dased on which data their elements are from

hi, I have a matrix with several thousand rows and seven coulmns. In column 6 of each row can be seen the date of all the ele...

meer dan 6 jaar ago | 1 answer | 0

Answered

plot a line that shows the difference between two lines

thanks! it's working now, but is there really no way to get the exact slope? because I plot the difference (or to be more exact ...

plot a line that shows the difference between two lines

thanks! it's working now, but is there really no way to get the exact slope? because I plot the difference (or to be more exact ...

meer dan 6 jaar ago | 0

Question

change colour of a text into blue

text(0,0.11,'Log-normal distribution') text(10,0.06,'Normal distribution') set(text,'Color','b') I would like to ...

meer dan 6 jaar ago | 1 answer | 0

Question

plot a line that shows the difference between two lines

hi, I have the following code: x=[0:0.0001:20] y1=blsprice(x,10,0.02,0.2,0.2)-blsprice(10,10,0.02,0.2,0.2) x1=...

meer dan 6 jaar ago | 2 answers | 1

Question

plot the slope of a curve in the same plot

hi, the code below gives me the value of an option depending on several stock prices, in the end it's an cruve that goes from...

meer dan 6 jaar ago | 2 answers | 0

Question

do not display first value on the x axis

hi, have the code below y=[6 6.25 6.33 6.45 7 7.2 7.1 7.4 7.5 7.3 7.6 7.4 7.4 7.5 7.4 7.2 6.8 6.6 6.7 6.8 6.9 6.3 6.2 6...

meer dan 6 jaar ago | 1 answer | 0

Question

move y and x label to the end of the label

per default the name for the x and y label are in the middle of the label itself, but I would like to see them at the end of the...

meer dan 6 jaar ago | 1 answer | 0

Question

plot axis based on a function found online

I found the following function: <http://www.mathworks.ch/support/solutions/en/data/1-216M68/index.html?product=ML&solution=1-...

meer dan 6 jaar ago | 1 answer | 0