Morten Jørgensen
Followers: 0 Following: 0
Feeds
질문
Find indices of the lowest neighbour in matrix
I'm trying to find the indices of the lowest value of three neighbours (red in picture below) for backtracking a path in a matri...
거의 5년 전 | 답변 수: 1 | 0
1
답변질문
expand length of matrix to fixed value
I have problem expand a matrix t is a 108x1 double, it contains a time vector 108 values in seconds. How can I extend this mat...
거의 5년 전 | 답변 수: 1 | 0
1
답변질문
Heatmap XY coordinates with image on background
Hi I'm trying to create a heatmap of where on a pitch certain event occur. but I have some problems plotting the heat map with ...
5년 초과 전 | 답변 수: 0 | 1
0
답변질문
How can I save a animated line into a video?
Hi, I'm trying to save this animated line into a video (mp4)? but I can't make it work. can anyone help me? Frames = (1:1:728...
5년 초과 전 | 답변 수: 2 | 0
2
답변질문
loop indexing length of non zeroes
Hi, I'm trying to make a loop that finds the length of a sequence of numbers: I want to find when x(:,4) is not equal to zero, ...
5년 초과 전 | 답변 수: 2 | 0
2
답변질문
Correct error in logical indexing
Hi, I can't figure out why i get the wrong result in this loop I now when k=3 it should be 1, but I get a 0. it gives me a arr...
5년 초과 전 | 답변 수: 2 | 0
2
답변질문
for loop starting from 1
Hi Is there a way to make this start from 1, when 1 is not in Player{4,1}(:,1)? i want to take the sum from 1:127, 127:162, 1...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
Ignoring when indexing value positions are invalid
Hi I get and error when running this code, is it possible to ignore when position is invalid at just let the code proceed? so ...
5년 초과 전 | 답변 수: 2 | 0
2
답변질문
replacing values from one array to another in different sizes
Hi I am really struggeling with solving this problem. % I have an array called mBall 15001x4 with only zeroes in fourth column...
5년 초과 전 | 답변 수: 1 | 1
1
답변질문
logical index replace values
Hi mBall(1:15001,4) = 0; -3.42 -24.55 5.19 0 -3.01 -24.59 5.66 0 -2.59 -24.64 6.11 0 -2.19 -24.69 6.53 0 -1.78 -24.73...
5년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
Indexing to cell arrays
stepX={}; for j= 1:size(X,2) j; stepX{size(stepX,2)+1} = find(0 < X(:,j) & X(:,j) < 1); end
Indexing to cell arrays
stepX={}; for j= 1:size(X,2) j; stepX{size(stepX,2)+1} = find(0 < X(:,j) & X(:,j) < 1); end
5년 초과 전 | 1
| 수락됨
질문
using 2 indexs for loop
Hi how can i optimize this loop, if i want to include another indexing mHome is an 15001x28 array mBall is an 15001x3 array ...
5년 초과 전 | 답변 수: 1 | 1
1
답변질문
Find function and storing in cell
Hi I'm trying to write a program that stores the values 0 < X < 1 I have an array X wich are 15000x14 and I want to store the ...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
velocity from xyz coordinates
Hi, I want to find the velocity of a football I have a array called "Ball" 15001x3 with the XYZ coordinates of the ball. and i...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
Animation delete previous point
Hi I'm trying to make an animation, where I only display one point at the time, right now the trajectory stays, and I want onl...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
How do i include every second peak only?
X is my data, and I've used the peakfinder function, I want to store it in step in one row I want to include peak 1 and 2, next...
거의 6년 전 | 답변 수: 1 | 0
1
답변질문
Hi, I'm kind of new to matlab, I would like to turn this into a for loop. How should i do it?
Hi, I'm kind of new to matlab, I would like to turn this into a for loop. How should i do it? c1 =EMGrsmpl(step1{1,end-10...
대략 6년 전 | 답변 수: 1 | 0