質問

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

8年以上 前 | 1 件の回答 | 0

回答済み

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

8年以上 前 | 0

質問

error message using polynom

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

8年以上 前 | 3 件の回答 | 0

質問

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

8年以上 前 | 1 件の回答 | 0

質問

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

8年以上 前 | 1 件の回答 | 0

質問

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

8年以上 前 | 1 件の回答 | 0

質問

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

8年以上 前 | 3 件の回答 | 0

質問

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

8年以上 前 | 1 件の回答 | 0

質問

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

8年以上 前 | 1 件の回答 | 0

質問

error message using polyfit (nonlinear regression)

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

8年以上 前 | 1 件の回答 | 0

質問

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

8年以上 前 | 2 件の回答 | 0

質問

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

8年以上 前 | 2 件の回答 | 0

回答済み

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

8年以上 前 | 0

質問

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

8年以上 前 | 2 件の回答 | 0

質問

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

8年以上 前 | 4 件の回答 | 8

回答済み

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?

8年以上 前 | 0

質問

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

8年以上 前 | 3 件の回答 | 0

質問

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

8年以上 前 | 1 件の回答 | 0

質問

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

8年以上 前 | 2 件の回答 | 0

質問

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

8年以上 前 | 1 件の回答 | 0

質問

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

8年以上 前 | 2 件の回答 | 0

質問

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

8年以上 前 | 2 件の回答 | 0

質問

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

8年以上 前 | 1 件の回答 | 0

回答済み

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

8年以上 前 | 0

質問

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

8年以上 前 | 1 件の回答 | 0

質問

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

8年以上 前 | 2 件の回答 | 1

質問

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

8年以上 前 | 2 件の回答 | 0

質問

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

8年以上 前 | 1 件の回答 | 0

質問

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

8年以上 前 | 1 件の回答 | 0

質問

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

8年以上 前 | 1 件の回答 | 0