Community Profile

photo

steve Brian


Last seen: 3년 초과 전 2020년부터 활동

Followers: 0   Following: 0

통계

  • Thankful Level 3

배지 보기

Feeds

보기 기준

질문


Rewrite function for loop in while
Hi all! How can I rewrite this for loop in a while? for i = 2:sum(1: (rows - 1)) if (i > sum(1: (x))) x ++; ...

대략 4년 전 | 답변 수: 1 | 0

1

답변

질문


Center of mass or clusters
Hi there! If I have an NxM matrix and a number of clusters, how do I return a centroids point vector representing the averages...

대략 4년 전 | 답변 수: 1 | 0

1

답변

질문


Display a new matrix
Hi there, if I have a matrix A of MxM and another matrix B column of Mx1. And a variable p. When I say p = 1, I want to display...

대략 4년 전 | 답변 수: 1 | 0

1

답변

질문


Generate probabilites rows in a game
Hi all. Let's say I have a pyramid, with different exits. In that pyramid there is a mouse that must reach the cheese. Different...

대략 4년 전 | 답변 수: 1 | 0

1

답변

질문


Add element to a given vector
I have a vector of the format: x = [X1 X2 … Xn] I want to add an element to the end, X(n+1). How do I do that? x = [ X1 X2 ...

대략 4년 전 | 답변 수: 1 | 0

1

답변

질문


Add n+1 element to a vector
I have a vector of the format: x = [X1 X2 … Xn] I want to add an element to the end, X(n+1). How do I do that? ex: x = [ 1 ...

대략 4년 전 | 답변 수: 1 | 0

1

답변

질문


Count vector position in a matrix
Hi all. I need an algorithm, which takes my first element (! = 0) from an array and checks that element in a vector that already...

대략 4년 전 | 답변 수: 1 | 0

1

답변

질문


Jacobi method in matlab
Hi there, I'm at the beginning and I don't know how to work with matrices. I have a function that receives as a parameter, a ma...

대략 4년 전 | 답변 수: 0 | 0

0

답변

질문


Function like "find" but for lines
Hi everyone, I need a function that starts counting every element in an array (each line), and when it finds 0, it can skip it. ...

대략 4년 전 | 답변 수: 3 | 0

3

답변

질문


Matrix split in vector
Hello everyone! I need a little help, I'm at the beginning and I would like to create a function that receives a matrix with pos...

대략 4년 전 | 답변 수: 2 | 0

2

답변