photo

Noah Chrein


2015년부터 활동

Followers: 0   Following: 0

통계학

  • Thankful Level 1

배지 보기

Feeds

보기 기준

질문


Vectorizing a recursive for-loop
Hey, I need help vectorizing this for-loop. In general, I need help vectorizing a for-loop with a term that references it's prev...

대략 9년 전 | 답변 수: 1 | 1

1

답변

질문


using find on each column of a matrix independently
Hello, I would like to use the find function on each row independently in a vectorized way. for example, I want to find the f...

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

3

답변

질문


Take a lineout of a matrix, defined by a function
Let M be an m by n matrix, let f:(1:m)->(1:n) how can I create a vector that contains all the points that f hits? Example:...

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

1

답변

질문


Manipulating cell arrays based on index
how can I manipulate the elements of an array of cells based on index? for a double array, I can just do this: >> j = zeros...

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

2

답변

질문


Arrayfun with a function that takes multiple inputs
say I have an array that I want to run a function over each of its elements, I could easily do this with arrayfun(@f,v) where f ...

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

4

답변

질문


access elements of a vector output in one line
say I have some function output = f(vars), and output is a vector. how can I, in one line, access elements of this vector? ex...

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

2

답변

질문


Manipulating Matrix elements based on their index without using a for loop.
Can I do simple manipulations on each matrix element based on its index without having to run a for loop? for example, say I ...

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

2

답변