Marco Carapellese
Followers: 0 Following: 0
Feeds
질문
deviation from the average value less
hello everyone, I have a vector composed of 34 rows by 40 columns, I would like to calculate the average value of each row (ther...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
create a loop/ switch elements
hello everybody, I need to create a loop, for repeat the sum in the 'if'. And I need to reassign the same element at traci.tra...
2년 초과 전 | 답변 수: 0 | 0
0
답변질문
repeat in the same vector
hi to all I have a vector [1 2 3; 4 5 6] I would like to repeat the elements within another vector n times. For example, if n = ...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
transform vector in 2 dimensions into one in 3
for i = 1:duration traci.simulation.step(); for n = 1: length(inductionID) veicoliOGNIISTANT...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
update values in a for loop except one
hi everyone, i have the following problem. I have a simulation seconds ranging from 0 to 630 seconds, at which every 90 I would ...
2년 초과 전 | 답변 수: 2 | 0
2
답변질문
search string in array that contain other arrays
Hi everyone. Given the vector that I am attaching, which is a set of other vectors, I would like to search among the 'Phases' an...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
create intervals of equal length but sequential
Hi, I would like to create intervals of equal length but sequential. Let me explain better with an example: I have a duration o...
2년 초과 전 | 답변 수: 2 | 0
2
답변질문
split and sum every n columns
Hello, i have a matrix 8x630, i'd like to split the matrix in 7 matrix 8x90 then do sum beetween 90 columns to obtain 7 matrix 8...
2년 초과 전 | 답변 수: 1 | 0