**Statistics**

**MATLAB Answers**

**55** Questions

**0** Answers

RANK**35,606**

of 271,508

REPUTATION**1**

CONTRIBUTIONS

**55** Questions

**0** Answers

ANSWER ACCEPTANCE **
63.64%
**

VOTES RECEIVED**1**

RANK

of 18,313

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 120,066

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

linear interpolation using 2 arrays

I have two separate arrays containing two variables, t & T. I need to interpolate for a new set of T values using the relationsh...

5 years ago | 0 answers | 0

### 0

answersQuestion

Function that requires 2 variables

I have two variables, t and h, that are composed of 30831 individual elements (so there is a t1,t2,t3...;h1,h2,h3...) and I need...

6 years ago | 2 answers | 0

### 2

answersQuestion

Text file for loop help

I have a text file (attached), which has 4 columns. I wanted to create separate text files out of this one text file based on th...

6 years ago | 1 answer | 0

### 1

answerQuestion

Plotting 3D plot with 3 variables

I have three variables (let's call them x, y, and z), and x and y represent coordinates while z is a value that correlates to th...

7 years ago | 1 answer | 0

### 1

answerQuestion

binning the x-axis of a plot

I need to create bins for the x-axis of my plot. The axis goes from 0 to 20, and I need to make bins corresponding to every .10 ...

7 years ago | 1 answer | 0

### 1

answerQuestion

Removing double values from matrices

I have two matrices, X and Y, which are essentially a set of coordinates. The problem is that some values in matrix Y have more ...

7 years ago | 1 answer | 0

### 1

answerQuestion

Pulling two sets of numbers in two separate doubles into a new double

I have one 2x43 double called FaXY3. It contains two doubles, titles FaY3 and FaX2. FaY3 and FaX2 together create a set of coord...

7 years ago | 1 answer | 0

### 1

answerQuestion

Random number selector from double

I have drafted the following code: num_to_fetch = round(66 / 100 * length(FaY3)); your_subset = FaY3(randperm(le...

7 years ago | 1 answer | 0

### 1

answerQuestion

How to merge multiple matrices

I need to combine multiple matrices (doubles) (all the same length with padding of 0) into one matrix without losing their 'posi...

7 years ago | 1 answer | 0

### 1

answerQuestion

Need to combine doubles with different sizes

I need to combine a set of doubles into one double matrix. My problem is that they are all different sizes. How would I go about...

7 years ago | 1 answer | 0

### 1

answerQuestion

Binary data in Logical associated with coordinates

I need to export only the 1's in a logical array into a text file. But, I need to export the coordinates associated with the 1's...

7 years ago | 1 answer | 0

### 1

answerQuestion

Binary data in Logical Array into a text file

Would it be possible to export binary data in a logical array into a text file?

7 years ago | 2 answers | 0

### 2

answersQuestion

Converting pixel coordinates back into x,y values

I have pixel coordinates of an image and would like to convert these coordinates back into the original (x,y) coordinates and pu...

7 years ago | 1 answer | 0

### 1

answerQuestion

Exporting imshow data into a text file

I used imshow on an image to set up a threshold where the pixels fell below a certain number of counts. And, to see if a new poi...

7 years ago | 1 answer | 0

### 1

answerQuestion

Extracting information from a plot

I have a map of objects on a basic plot. there are areas on the plot that don’t have many objects at all. I want to identify and...

7 years ago | 2 answers | 0

### 2

answersQuestion

Exporting Lines from One Text File to Another

I have the following code written to copy certain lines from one text file: contents = fileread('observedsn.txt'); [star...

7 years ago | 1 answer | 0

### 1

answerQuestion

Character Restrictions in a Text File

I am trying to restrict the 25th column of this text file by exporting entire line either of the following characters, "Ib, Ib/c...

7 years ago | 1 answer | 0

### 1

answerQuestion

Creating Bins in a Histogram

I have a data set with the first column being the years and the second column being the distances. I need to create a histogram ...

7 years ago | 2 answers | 0

### 2

answersQuestion

Line of Best Fit through Scattered Data

I need to find the line of best fit through my scatterplot. I have attached my text file, and my code is the following. cle...

7 years ago | 3 answers | 0

### 3

answersQuestion

Using interp1 on a function that is not monotonic increasing

I need to use the interp1 function on my two data sets, labeled x and y. I wrote the following code: yDesired = interp...

7 years ago | 2 answers | 0

### 2

answersQuestion

Plotting Poissonian Error Bars

I am inputting poissonian error bars on a plot I drafted. The only problem is that there are numerous points on the graph, there...

7 years ago | 1 answer | 0

### 1

answerQuestion

Interpolation on a Convoluted Function

I have the following function: G(tau) = integral(-inf, inf) h_x(t)*h_+(t+tau)dt where tau = T, h_x = Y1, h_+ = W1, and t =...

7 years ago | 0 answers | 0

### 0

answersQuestion

Export matched lines from two text files

I need to identify the same lines between the two text files, mwithrm21.txt and virgomrmdist.txt, based on column 7 of each file...

7 years ago | 3 answers | 0

### 3

answersQuestion

Removing duplicate lines from a text file

I have a text file (attached) that has duplicate lines in it. How would I remove those lines?

7 years ago | 1 answer | 0

### 1

answerQuestion

Exporting matched lines from a text file

I am trying to export the lines in a text file that contain '~' in column 8 to another text file. I have written the code below:...

7 years ago | 1 answer | 0

### 1

answerQuestion

Restricting a set of data by a spherical radius

I need to restrict column 3 of the attached text file by a spherical radius with a central number of 12.51 that has a radius tha...

7 years ago | 1 answer | 0

### 1

answerQuestion

Character restriction in text file

I am trying to restrict a text file by only keeping lines that contain 'M' in the first column. I wrote the code below, excep...

7 years ago | 2 answers | 0

### 2

answersQuestion

Removing unwanted lines from text file

I am trying to remove all the NaN from column 7 of the attached text file and move them into a new text file. I have written...

7 years ago | 1 answer | 0

### 1

answerQuestion

Transfer lines in a text file to a new text file

I need to transfer lines between two text files into a new text file. The text file in which I need to match lines is called m21...

7 years ago | 1 answer | 0

### 1

answerQuestion

How to set an upper and lower limit on a data set from a matrix

I need to set an upper and lower limit on the numbers in a data set that belongs to a matrix. How would I go about doing thi...

7 years ago | 2 answers | 0