질문


move a row from a cell to another cell
I had a cell array Q like this Q=cell(5,1); Q{1,:}=[1 2 3 4;11 22 33 4;11 2 33 4]; Q{2,:}=[1 11 11 2;22 2 32 33]; ...

거의 7년 전 | 답변 수: 2 | 0

2

답변

질문


nested for loop with different variable name
S is cell array of size 994*1 and each cell size in it is 24*24, price3(size 1*24), Bita(size 1*24), CONS_T3(size 1*24), I want...

거의 7년 전 | 답변 수: 1 | 0

1

답변

질문


matrix as desired data using for loop
suppose I had following matrix A A(1,:)=[10 10 0.2 0 0]; A(2,:)=[10 10 10 0.3 0]; A(3,:)=[10 0.5 0 0 0]; Now I want a cell...

거의 7년 전 | 답변 수: 1 | 0

1

답변

질문


create a specific matrix data ?
I have a matrix N=[2;3;4;2;4;1;4;3;2;1] (10*1 size) then from this i want to create a matrix like this that for i=1:10 ...

거의 7년 전 | 답변 수: 1 | 0

1

답변

질문


dlmwrite/dlmread function help ?
I had a matrix A = [data1 data2 data3]; B = [data4 data5]; data1,data2,....data5 are calculated or exported from exc...

거의 7년 전 | 답변 수: 1 | 0

1

답변

질문


find a rows in matrix and its position in that matrix ?
datasheet(48*6)size %I had a matrix of size(48*6) and then ii = randperm(size(datasheet,1)); k = ones(24,1)*2; ...

대략 7년 전 | 답변 수: 2 | 0

2

답변

질문


selection of data from matrix
I have a dataset lets say a matrix of 100 rows and 5 columns, each row represents a dataset.Now I want to select 5 any rows(data...

대략 7년 전 | 답변 수: 4 | 0

4

답변

질문


probability data distribution randomly or with some probability
I have 10,000 Electric vehicles(EVs) now I want to distribute them in 24hours(day) one-hour interval, this shows the arrival tim...

대략 7년 전 | 답변 수: 1 | 0

1

답변

질문


how to create a function ?
I want to create a function which gives following information like fi = @(a,b) ([a:data_len 1:b]); if x<y A= x:y ...

대략 7년 전 | 답변 수: 2 | 0

2

답변

질문


Is there the more elegant way to do this?
I have 10 matrices(10*24 size each) named A1,A2,,,,A10.Now i want this E1=sum(A1); E2=sum(A2); till E10=sum(A10); ...

7년 초과 전 | 답변 수: 4 | 1

4

답변

질문


create a specific vector from excel file
I want create​ a zero vector (1*24) and according to the appliances like for 'lights' (in Excel file ) create A1 zero vector (...

7년 초과 전 | 답변 수: 2 | 0

2

답변

질문


create different vector using for loop
I have three users named A1, A2 and A3 and each user has three appliances like A11 represent the A1's 1st appliance and A12, A13...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


read specific data from excel and create a vector ?
I have attached excel file and to create a row vector 1*24 like A1=[0 0 0 0 2.2 2.2 2.2 2.2 2.2 2.2 2.2 2.2 2.2 2.2 2.2...

7년 초과 전 | 답변 수: 2 | 0

2

답변

질문


how to read excel file and create a row vector ?
how can we create a row vector from excel file containing zeros and some same digits like A=[ 0 0 0 0 4 4 4 4 4 4 0 0 0 0 0 ]; ...

7년 초과 전 | 답변 수: 1 | 0

1

답변