提问


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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 1 个回答 | 0

1

个回答