Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Risposto
error message using polynom
thanks a lot, it seems as I should exclude those values, they do not seem reasonable

quasi 11 anni fa | 0

Domanda


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

circa 11 anni fa | 3 risposte | 0

3

risposte

Domanda


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

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 11 anni fa | 3 risposte | 0

3

risposte

Domanda


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

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


error message using polyfit (nonlinear regression)
hi, I get the following error meesage: Warning: Polynomial is not unique; degree >= number of data points. > In ...

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 11 anni fa | 2 risposte | 0

2

risposte

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

circa 11 anni fa | 0

Domanda


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

circa 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 11 anni fa | 4 risposte | 8

4

risposte

Risposto
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?

circa 11 anni fa | 0

Domanda


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

circa 11 anni fa | 3 risposte | 0

3

risposte

Domanda


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

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 11 anni fa | 1 risposta | 0

1

risposta

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

circa 11 anni fa | 0

Domanda


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

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 11 anni fa | 2 risposte | 1

2

risposte

Domanda


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

circa 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 11 anni fa | 1 risposta | 0

1

risposta

Carica altro