질문


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

3년 이하 전 | 답변 수: 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 ...

3년 이하 전 | 답변 수: 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...

3년 이하 전 | 답변 수: 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; ...

약 3년 전 | 답변 수: 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...

약 3년 전 | 답변 수: 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...

약 3년 전 | 답변 수: 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 ...

약 3년 전 | 답변 수: 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); ...

3년 이상 전 | 답변 수: 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 (...

3년 이상 전 | 답변 수: 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...

3년 이상 전 | 답변 수: 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...

3년 이상 전 | 답변 수: 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 ]; ...

3년 이상 전 | 답변 수: 1 | 0

1

답변