Feeds
提问
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...
7 years 前 | 0 个回答 | 0
0
个回答提问
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...
8 years 前 | 2 个回答 | 0
2
个回答提问
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...
8 years 前 | 1 个回答 | 0
1
个回答提问
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...
9 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
9 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
9 years 前 | 1 个回答 | 0
1
个回答提问
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...
9 years 前 | 1 个回答 | 0
1
个回答提问
Random number selector from double
I have drafted the following code: num_to_fetch = round(66 / 100 * length(FaY3)); your_subset = FaY3(randperm(le...
9 years 前 | 1 个回答 | 0
1
个回答提问
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...
9 years 前 | 1 个回答 | 0
1
个回答提问
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...
9 years 前 | 1 个回答 | 0
1
个回答提问
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...
9 years 前 | 1 个回答 | 0
1
个回答提问
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?
9 years 前 | 2 个回答 | 0
2
个回答提问
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...
9 years 前 | 1 个回答 | 0
1
个回答提问
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...
9 years 前 | 1 个回答 | 0
1
个回答提问
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...
9 years 前 | 2 个回答 | 0
2
个回答提问
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...
9 years 前 | 1 个回答 | 0
1
个回答提问
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...
9 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
9 years 前 | 2 个回答 | 0
2
个回答提问
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...
9 years 前 | 3 个回答 | 0
3
个回答提问
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...
9 years 前 | 2 个回答 | 0
2
个回答提问
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...
9 years 前 | 1 个回答 | 0
1
个回答提问
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 =...
9 years 前 | 0 个回答 | 0
0
个回答提问
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...
9 years 前 | 3 个回答 | 0
3
个回答提问
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?
9 years 前 | 1 个回答 | 0
1
个回答提问
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:...
9 years 前 | 1 个回答 | 0
1
个回答提问
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...
9 years 前 | 1 个回答 | 0
1
个回答提问
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...
9 years 前 | 2 个回答 | 0
2
个回答提问
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...
9 years 前 | 1 个回答 | 0
1
个回答提问
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...
9 years 前 | 1 个回答 | 0
1
个回答提问
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...
9 years 前 | 2 个回答 | 0