Community Profile

jyloup p


Con actividad desde 2014

Followers: 0   Following: 0

Contacto

Professional Interests: applied mathematics

Estadísticas

All
  • First Review
  • Thankful Level 1
  • Solver

Ver insignias

Feeds

Ver por

Respondida
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...

casi 10 años hace | 0

Respondida
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 ...

casi 10 años hace | 0

Respondida
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 ...

casi 10 años hace | 0

Pregunta


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...

casi 10 años hace | 7 respuestas | 0

7

respuestas

Resuelto


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...

casi 10 años hace