photo

Dario


Aktiv seit 2017

Followers: 0   Following: 0

Nachricht

Statistik

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 7 Jahre vor | 4 Antworten | 0

4

Antworten

Frage


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

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 7 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort