# jgillis16

Attivo dal 2015

Followers: 0   Following: 0

#### Feeds

Visto da

Domanda

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

oltre 7 anni fa | 0 risposte | 0

### 0

risposte

Domanda

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

circa 8 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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

circa 8 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre 8 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre 8 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre 8 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre 8 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre 8 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre 8 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre 8 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre 8 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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?

oltre 8 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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

oltre 8 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre 8 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre 8 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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

oltre 8 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre 8 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

quasi 9 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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

quasi 9 anni fa | 3 risposte | 0

### 3

risposte

Domanda

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

quasi 9 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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

quasi 9 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

quasi 9 anni fa | 0 risposte | 0

### 0

risposte

Domanda

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

quasi 9 anni fa | 3 risposte | 0

### 3

risposte

Domanda

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?

quasi 9 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

quasi 9 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

quasi 9 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

quasi 9 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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

quasi 9 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

quasi 9 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

quasi 9 anni fa | 2 risposte | 0

risposte