photo

Dario


Con actividad desde 2017

Followers: 0   Following: 0

Mensaje

Estadística

  • Thankful Level 3

Ver insignias

Feeds

Ver por

Pregunta


How can I put in an array the elements near the center?
I have a matrix 100x100. I want to save the 8 elements around the center of the matrix in an array. Then I want to save the 16 e...

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

2

respuestas

Pregunta


Create a movie of different imagesc
From a for cycle I obtain 423 different imagesc on a single figure (While the simulation is running I see in this figure all the...

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

1

respuesta

Pregunta


linear fit of data
I have to fit this array (300x1) of data with a line and I have no idea how to do a linear fit with this values. Thank you

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

1

respuesta

Pregunta


Error using subplot, undefined function or variable
I'm using in a wrong way subplots. I want to plot two matrices in the same figure using two subplots. figure subplot(2,1,1...

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

1

respuesta

Pregunta


For loop mean values into matrix
I attach my matrix that is called diff_matr. This matrix has 2 columns. In the first one there are values (ordered by ascend...

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

1

respuesta

Pregunta


How can I save matrices created in a for loop in the workspace?
This is my code at the moment: for f=1:3 diff_matr=[dist_direct(:,f),diff(:,f)]; diff_matr=sortrows(diff_matr,1);...

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

1

respuesta

Pregunta


How can I remove an entire row of zeros in a matrix?
If I have a matrix like this one: 45 23 54 0 0 0 9 3 32 How can I remove the second row and obtain this matrix? ...

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

1

respuesta

Pregunta


imagesc: how to set NaN as white color
I need to set NaN values as white color using imagesc. I attach the matrix which is a 1200x1200 matrix with different values equ...

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

4

respuestas

Pregunta


Put array data inside another array without a for cycle
I have 2 array of equal dimension: 1440000x1. I need to put in the 2nd array the value 0 when there is the value 0 in the first...

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

1

respuesta

Pregunta


Calculating distance between a point and all points of a matrix
In the file.mat that I upload there are the x and y coordinates of an antenna and the 2 arrays with x and y coordinates of the e...

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

1

respuesta

Pregunta


Union of two matrices with different column size
I need to make the union between two matrices: M 455799x3 N 771719x3 I attach the workspace with the two matrices insid...

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

1

respuesta

Pregunta


Import a .txt file with numbers and words
I need to import a .txt file that with numbers and words. In particular I need the first two numbers next to every "POINT" and t...

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

1

respuesta