Frage

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

fast 11 Jahre vor | 1 Antwort | 0

Beantwortet

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

fast 11 Jahre vor | 0

Frage

error message using polynom

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

fast 11 Jahre vor | 3 Antworten | 0

Frage

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

fast 11 Jahre vor | 1 Antwort | 0

Frage

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

fast 11 Jahre vor | 1 Antwort | 0

Frage

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

fast 11 Jahre vor | 1 Antwort | 0

Frage

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

fast 11 Jahre vor | 3 Antworten | 0

Frage

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

fast 11 Jahre vor | 1 Antwort | 0

Frage

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

fast 11 Jahre vor | 1 Antwort | 0

Frage

error message using polyfit (nonlinear regression)

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

fast 11 Jahre vor | 1 Antwort | 0

Frage

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

fast 11 Jahre vor | 2 Antworten | 0

Frage

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

fast 11 Jahre vor | 2 Antworten | 0

Beantwortet

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

fast 11 Jahre vor | 0

Frage

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

fast 11 Jahre vor | 2 Antworten | 0

Frage

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

fast 11 Jahre vor | 4 Antworten | 8

Beantwortet

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?

fast 11 Jahre vor | 0

Frage

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

fast 11 Jahre vor | 3 Antworten | 0

Frage

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

fast 11 Jahre vor | 1 Antwort | 0

Frage

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

fast 11 Jahre vor | 2 Antworten | 0

Frage

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

fast 11 Jahre vor | 1 Antwort | 0

Frage

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

fast 11 Jahre vor | 2 Antworten | 0

Frage

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

fast 11 Jahre vor | 2 Antworten | 0

Frage

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

fast 11 Jahre vor | 1 Antwort | 0

Beantwortet

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

fast 11 Jahre vor | 0

Frage

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

fast 11 Jahre vor | 1 Antwort | 0

Frage

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

fast 11 Jahre vor | 2 Antworten | 1

Frage

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

fast 11 Jahre vor | 2 Antworten | 0

Frage

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

fast 11 Jahre vor | 1 Antwort | 0

Frage

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

fast 11 Jahre vor | 1 Antwort | 0

Frage

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

fast 11 Jahre vor | 1 Antwort | 0