Question


Save matrix in for loop
I have done calculations on charging of an electric vehicle. For this I have created a charging profile for 1 car. Now I want t...

1 year ago | 1 answer | 0

1

answer

Question


Convert timetable into matrix where time is a variable
I have a timetable that looks like this. What I want is a matrix that looks like this: A=[ 3849 0.1833 3850 0...

1 year ago | 1 answer | 0

1

answer

Question


Load from subfolders in directory
I have 429 matrices that needs to be stored in a subfolder, I call it CHARGING I have 429 timetables hat needs to be stored in ...

1 year ago | 1 answer | 0

1

answer

Question


Assign values in a matrix
My script considers charging of Electric Vehicles. The first column is when the EV starts charging (in what minute), the second ...

1 year ago | 1 answer | 0

1

answer

Question


Matrix change size when aggregating matrices
I have three matrices of sizes: 224x3, 1120x3 and 198x3. I try to merge them to one like this: Final=[HomeStay2; MidHomeStay ; ...

1 year ago | 0 answers | 0

0

answers

Question


Put vectors of different lengths into cells
I have three vectors. They all have 466 elements (466x1 vectors). Vector1= the value 173 on 224 rows followed by 242 zeros Vec...

1 year ago | 0 answers | 0

0

answers

Question


Reshape list into columns
Im working with driving data for vehicles. There is 429 vehicles (DeviceStats). For the trips, there is a list of 107910 rows wi...

1 year ago | 1 answer | 0

1

answer

Question


Changing input data sample from the same dataset
I have script mapping the driving of vehicles. The data for the vehicles are listed like this: Vehicle nr. 173 Da...

1 year ago | 1 answer | 0

1

answer

Question


Values from workspace change
I have a vector with values: DH=[0 0 0 0 0 0 3.95 1009.15 0] I insert the DH in a matrix TimeofHomeArrival=[Home; DateVector(...

1 year ago | 1 answer | 0

1

answer

Question


Insert element in vector
The vector A consist of 223 elements of zeros and other values. When a value above zero show up, I want to add one/several elem...

1 year ago | 1 answer | 0

1

answer