Community Profile

jyloup p


Attivo dal 2014

Followers: 0   Following: 0

Contatto

Professional Interests: applied mathematics

Statistiche

All
  • First Review
  • Thankful Level 1
  • Solver

Visualizza badge

Feeds

Visto da

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

quasi 10 anni fa | 0

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

quasi 10 anni fa | 0

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

quasi 10 anni fa | 0

Domanda


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

quasi 10 anni fa | 7 risposte | 0

7

risposte

Risolto


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

quasi 10 anni fa