photo

Daniel Lee


Last seen: más de 4 años hace Con actividad desde 2020

Followers: 0   Following: 0

Estadística

  • Thankful Level 3

Ver insignias

Feeds

Ver por

Pregunta


looking up entire matrix for if then loop
Given A=[1 2 3 4 5 ] I want to see when A > 1 and count how many times that was true (output should be 4 times) I want to see...

más de 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Output to an array or matrix
Using For and If loop, I got 5 separate outputs, ans = 1, 2, 3, 4, 5 Is there a way to automatically create an array with abov...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Index exceeds the number of array elements error
When I run below code, I get error: Index exceeds the number of array elements (5). Can someone please help me understand why I...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


how to call out specific cell in a matrix
If I have A=[1,2,3,4,5] B=[6,7,8,9,10] C=[1,2,3,4,5] If there a way to call out specific position at each matrix so that: ...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


create an array with an output from a loop
Is there a way to create an entirely new array with an output from a loop? For example: If a condition is met, increase or dec...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Subtracting 2 cells in an array
Given: A=[1,3,5,2,6,1]; Is there a function where I can get a difference of first and following cell in above matrix? For exa...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Matrix comparison with unequal sized matrices
Hi Let's say I have: A = [A1, A2, A3, A4, A5] B= [B1,B2,B4,B4,B5] N = counter If I want to: Compare B1 to A2. If B1 is gre...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Selective summary of matrix array
Hi, I'm trying to create 1 x 5 matrix called A with following information: Given: Let's say r=exprnd(5,1,5) yields following ...

más de 4 años hace | 1 respuesta | 0

1

respuesta