Noah Chrein
自 2015 起处于活动状态
Followers: 0 Following: 0
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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 2 个回答 | 0