Community Profile

photo

Anton Birkedal


Last seen: alrededor de 1 año hace Con actividad desde 2018

Followers: 0   Following: 0

Estadísticas

All
  • Thankful Level 1
  • Solver

Ver insignias

Feeds

Ver por

Pregunta


How can I make an index with multiple intervals automatically?
It is possiple to write an index with intervals like index = [1:3,8:10]; which gives access to the positions 1, 2, 3, 8, 9 and...

alrededor de 5 años hace | 1 respuesta | 0

1

respuesta

Resuelto


Set the array elements whose value is 13 to 0
Input A either an array or a vector (which can be empty) Output B will be the same size as A . All elements of A equal to 13...

más de 5 años hace

Resuelto


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

más de 5 años hace

Resuelto


Funny problems
Generate the following vector: if n=1 then q=1; elseif n=2 then q=[2 2 1]; elseif n=3 then q=[3 3 3 2 2 1]; ... end

más de 5 años hace