photo

Robert Mason


Con actividad desde 2016

Followers: 0   Following: 0

Estadística

  • Thankful Level 3

Ver insignias

Feeds

Ver por

Pregunta


Merging adjacent cells in a cell array and applying rules to remove entries
I have a cell array with cells of different sizes, for instance: ([-2, -1], [1, -2]; [1, -2], [2]; [1, -2, -1], [1, 2]). I wo...

casi 8 años hace | 3 respuestas | 0

3

respuestas

Pregunta


Replacing elements of a matrix with vectors
I have a matrix of integers, for instance: [1 2; 3 4], and I would like to replace each integer with a, for instance: 1 by...

casi 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Index issue with using a global variables that are vectors in a function
I have written a function in which two global variables, both vectors with 2 entries, are used: function TH=THETA(y, z); ...

casi 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Failure of the Continue command in a for-loop
I cannot get the continue command to work in for-loops. For instance, with the code: q(1) = 1; q(2) = 2; q(3) = 3; ...

casi 8 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Skipping part of an index in a for-loop
I have a set of data and a for-loop, for instance: d(1) = 1; d(2) = 2; d(3) = 3; for j= [1 3]; g = d(3)./(d + d...

casi 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Automatically populating a vector with the output of a for-loop
I have some initial data and a for-loop that uses this data: d(1)=-0.3; q(1)=0.08; d(2)=0.4+0.1*i; q(2)=0.11; s=1; N =...

casi 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Symbolic summation within a for-loop
I have a function that is dependent on two variables, f(j, k). I would like to create a loop that, for each j, sums the function...

alrededor de 8 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Defining a symbolic function in which one of the arguments is used to look up an entry of a vector, which is then used in the function.
I have defined several numbers and a vector as follows: d1=-0.3;d2=0.4; dv=[d1 d2]; I now attempt to define a function ...

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

1

respuesta