**Statistics**

**MATLAB Answers**

**12** Questions

**0** Answers

RANK**21,616**

of 272,930

REPUTATION**1**

CONTRIBUTIONS

**12** Questions

**0** Answers

ANSWER ACCEPTANCE **
41.67%
**

VOTES RECEIVED**1**

RANK

of 18,435

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 122,325

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

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

5 years ago | 2 answers | 0

### 2

answersQuestion

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

5 years ago | 1 answer | 0

### 1

answerQuestion

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

5 years ago | 1 answer | 0

### 1

answerQuestion

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

5 years ago | 1 answer | 0

### 1

answerQuestion

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

5 years ago | 1 answer | 0

### 1

answerQuestion

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

5 years ago | 1 answer | 0

### 1

answerQuestion

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

5 years ago | 1 answer | 0

### 1

answerQuestion

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

5 years ago | 4 answers | 0

### 4

answersQuestion

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

5 years ago | 1 answer | 0

### 1

answerQuestion

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

5 years ago | 1 answer | 1

### 1

answerQuestion

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

5 years ago | 1 answer | 0

### 1

answerQuestion

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

5 years ago | 1 answer | 0