Community Profile

jyloup p


2014 年からアクティブ

Followers: 0   Following: 0

連絡

Professional Interests: applied mathematics

統計

All
  • First Review
  • Thankful Level 1
  • Solver

バッジを表示

Feeds

表示方法

回答済み
How to generate a single vector of block-consecutive values from 2 vectors of same size without a loop ?
I did another series of tests on big vecors: a = randi(500,1,100); a=cumsum(a); b=randi(500,1,100); b=b+a; b=cu...

10年弱 前 | 0

回答済み
How to generate a single vector of block-consecutive values from 2 vectors of same size without a loop ?
Ok I tested the four solutions you proposed to me. Andrei Bobrov's variant solution is the best one in term of "Matlab compact ...

10年弱 前 | 0

回答済み
How to generate a single vector of block-consecutive values from 2 vectors of same size without a loop ?
OK that function |cell2mat(arrayfun(@(x,y) x:y,a,b,'un',0))| answers my question. However I wouldn't have believed that a loop ...

10年弱 前 | 0

質問


How to generate a single vector of block-consecutive values from 2 vectors of same size without a loop ?
Hello, I have 2 vectors of same size let's say |a = [3 7 19 22]| and |b = [5 10 20 24]| And from those 2 vectors I want...

10年弱 前 | 7 件の回答 | 0

7

回答

解決済み


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

10年弱 前