Community Profile

photo

Pedro Vicente


Con actividad desde 2018

Estadísticas

  • Thankful Level 3

Ver insignias

Content Feed

Ver por

Pregunta


How can i have a matrix A, that depends of the result of other matrix B, that when there's a x number in B, matrix A changes to 1
So, i have a matrix B(51,10,1000), that have somewhere negative numbers. And i want a matrix A(51,1000) that when running the...

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

1

respuesta

Pregunta


How to sum n lines of a matrix to another matrix?
So basically, i have a matrix Apit with the index of (51*n,5,1000) and what i wanted is another matrix TotalApit, with the index...

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

2

respuestas

Pregunta


How to change two variables at same time in a loop?
So i have something like: for k = 1:nexecucoes for i = 1:t*n for v = 1:n for j = 1:m ...

más de 5 años hace | 1 respuesta | 1

1

respuesta

Pregunta


how to have a vector that counts how many repetitive numbers there is in another vector?
So i have a vector with 100 numbers. And those numbers only goes until 51. For example A = [ 50 49 32 21 50 38 41 2 46........

más de 5 años hace | 3 respuestas | 0

3

respuestas

Pregunta


Converting a 3D matrix into a 2D in the correct order.
Hi guys, so i have a index matrix of 1x8x50 (i know this is almost a vector). exemple: T(:,:,48) = 37.3795 32.7215 31...

casi 6 años hace | 2 respuestas | 0

2

respuestas

Pregunta


'Assignment has more non-singleton rhs dimensions than non-singleton subscripts'. Can you guys help me fixing this error?
I have a 3D matrix called a. Apit= 3x4x20. And i want a matrix U(20,1) that gives me the sum of each 20 matrix. And i was doing...

casi 6 años hace | 1 respuesta | 0

1

respuesta