photo

Dario


Attivo dal 2017

Followers: 0   Following: 0

Messaggio

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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...

oltre 6 anni fa | 2 risposte | 0

2

risposte

Domanda


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...

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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);...

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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? ...

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

quasi 7 anni fa | 4 risposte | 0

4

risposte

Domanda


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...

quasi 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

quasi 7 anni fa | 1 risposta | 1

1

risposta

Domanda


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...

quasi 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

quasi 7 anni fa | 1 risposta | 0

1

risposta