Community Profile

photo

Dam


Active since 2012

student phd
Professional Interests: non

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


random integers in a customized ranges
to find 100 random integers between 1 and 5000 we use: x = randi(5000,100,1); is there a way to find random integers between ...

6 years ago | 1 answer | 0

1

answer

Question


RESAMPLING DATA FROM DIFFERENT EXCEL SHEETS
Good morning, i have an excel file (called Data) of 4 sheets and i try to:first randomly select a sheet then randomly select som...

6 years ago | 1 answer | 0

1

answer

Question


keep first time a value appear in a colomn and replace following ones
Good evening, Supposing I have the following matrix A= 5*3 =[1 1 1; 1 1 1; 1 0 1 ; 1 0 0; 1 0 0] What i want to do is to k...

9 years ago | 2 answers | 0

2

answers

Question


find first value and repalce values following it
Good morning, I have an the following matrix 6*3: 1 1 1 1 1 1 0 1 1 1 1 0 1 1 1 0 0 1 I want to keep th...

9 years ago | 1 answer | 0

1

answer

Question


Integration doesnt work, ndefined function or method 'integral' for input arguments of type 'function_handle'.
Hi to all, I have to solve the following optimization: theta_cal_const = fmincon(distance , theta0 , [] , [] , [] , [] , ...

9 years ago | 1 answer | 0

1

answer

Question


xticks and lables for figure with 2 y axes
x, A,B and C are all vectors of 1050*1; x=1:1050 (each 200 value of x represent one year so 1 have 5 years and 50 days...

9 years ago | 1 answer | 0

1

answer

Question


cumsum that restarts whenever it reaches certain level
Good evening I have a matrix A 250*3, i try to do the following: the first time that the cumsum "of raws" is > 0.02 or lower th...

9 years ago | 1 answer | 0

1

answer

Question


cumulative sum that restarts whenever it reaches certain level
Good evening I have a matrix A of 250*3 what i try to do is the following: the first time that the cumsum "of raws" is > 6, ...

9 years ago | 1 answer | 1

1

answer

Question


Reshaping a a matrix
Good evening, I have the following question pleas suppose I hava a matrix: [1 2 3 4 5 6 ; 7 8 9 10 11 12] (2*6) i want to re...

10 years ago | 1 answer | 0

1

answer

Question


Indexing problem for matrix
Good morning , i have a question related to indexing for the following S=100; T=1; sig=[0.05:0.01:0.45]; m=0.07; t...

10 years ago | 1 answer | 0

1

answer

Answered
long dashes in a dashed line matlab plot
But it s appearing in the legend as a solid line !!!!

11 years ago | 0

Answered
long dashes in a dashed line matlab plot
Very useful answer .. I used the function dashline 'the last link' .. Thank you very much

11 years ago | 0

Question


long dashes in a dashed line matlab plot
Good morning, I m plotting some results with matlab using the plot command as follows: plot(X,'color','r','linestyle','--','...

11 years ago | 5 answers | 1

5

answers

Question


selection from matrix with condition
Hi to all, actually i m having a matrix X=250*10 from which i want to choose the colomns that have an average >0.1 and a stand...

11 years ago | 2 answers | 0

2

answers

Question


plot from while loop
Hi, to be general, suppose i have written the following code s=0 figure while s<10 s=s+0.05 n= (µ-s)./nt...

11 years ago | 2 answers | 0

2

answers

Question


change appearing values one X- axis only
Hi to all; when plotting in matlab, matlab is automatically giving the values on the X axis form 0 to 300 depending on the num...

11 years ago | 2 answers | 0

2

answers

Question


random resampling with rebalancement
I have an array Y (3000*1) from which i want to drow an n=100 random samples with rebalancement(with repeating possible), such t...

11 years ago | 1 answer | 0

1

answer