Feeds
提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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, ...
10 years 前 | 1 个回答 | 1
1
个回答提问
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...
11 years 前 | 1 个回答 | 0
1
个回答提问
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...
11 years 前 | 1 个回答 | 0
1
个回答已回答
long dashes in a dashed line matlab plot
But it s appearing in the legend as a solid line !!!!
long dashes in a dashed line matlab plot
But it s appearing in the legend as a solid line !!!!
12 years 前 | 0
已回答
long dashes in a dashed line matlab plot
Very useful answer .. I used the function dashline 'the last link' .. Thank you very much
long dashes in a dashed line matlab plot
Very useful answer .. I used the function dashline 'the last link' .. Thank you very much
12 years 前 | 0
提问
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','--','...
12 years 前 | 5 个回答 | 1
5
个回答提问
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...
12 years 前 | 2 个回答 | 0
2
个回答提问
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...
12 years 前 | 2 个回答 | 0
2
个回答提问
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...
12 years 前 | 2 个回答 | 0
2
个回答提问
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...
12 years 前 | 1 个回答 | 0