Question

MATLAB Code Error Help

I have a matlab code which is gui based. I am using this code in Matlab 2019b for the first time. The code works in 2017a. below...

etwa 17 Stunden ago | 1 answer | 0

Question

Comparing Two Data to find best match

Hello, I have 2 sets of data, Y and X. Y data is a single column and X contains multiple columns. X & Y have different lengths....

20 Tage ago | 1 answer | 0

Question

Find Second Closest Datetime

Hi all, I have two datetime tables say A and B. I am able to compare A to B and extract the datetimes in A nearest to B with ...

etwa 2 Monate ago | 1 answer | 0

Question

Closest date to another

I have the code below which compares and extract the closest date & time in data1 to data2. It works well but I don’t want dupli...

etwa 2 Monate ago | 1 answer | 0

Question

Matching two objects based on Time difference

Hi, Supposing I have two cars A and B. A always arrives at every 10 minutes while B arrives at every 5 minutes or less after ...

2 Monate ago | 0 answers | 0

Question

Extract values common to 5 columns

Hi, I have a matrix A with 5 columns (1 to 5). I want to compare columns 1 through 5 and then extract values common to all 5 co...

2 Monate ago | 2 answers | 0

Question

Unique Number Assignment To Each Time

Hi, I have a series of times in column 1. The times are 1.1, 1.1, 1.1, 1.2, 1.2, 1.2, 2.1, 2.1, 2.1 etc. I want to assign a u...

3 Monate ago | 2 answers | 0

Question

Intersect, Compare two columns or two matrix and extract common information

Hi All, I have a matrixe with 4 columns (A to D) or 1 to 4. I want to compare columns 2 and 4 and if a match is found, put the ...

4 Monate ago | 1 answer | 0

Question

Draw vertical lines on a plot

Hi, I have a plot and I want to draw several vertical lines (about 40 of them) at specific locations on the plot. How do I go...

4 Monate ago | 2 answers | 0

Question

Data Sorting (looking for a range that do not exist in a list of numbers)

Hi All, Assume I have a column vector (please see attached) and it contains numbers but its not contineous. That is, say I have...

4 Monate ago | 1 answer | 0

Question

Dot indexing not supported

Hi, I have the code: x.y{2} = b x is a 10by200 matrix and y is a row vector (1by200) and b is also a row vector (1by200) wh...

5 Monate ago | 1 answer | 0

Question

Data Selection/Sorting

I have a column vector known as Data. Please see attached. I want to divide/sort this column vector into two (80% and 20%). I wa...

5 Monate ago | 1 answer | 0

Question

Compare two tables and extract the columns similar to both

Hi I have two data matrix, one is A and the other is B. I want to compare each column in A to B and if a match is found in B, th...

5 Monate ago | 1 answer | 0

Question

Compare to rows and delete matching rows

Update: I have attached to mat files. I want to compare the rows in file A to that of file B. If a number in the first column of...

etwa ein Jahr ago | 2 answers | 0

Question

Convert .txt files to .CSV files

Hi Guys: I want help in converting .txt files in my current matlab directory into .csv files while retaining the original nam...

mehr als ein Jahr ago | 1 answer | 0

Question

Getting data from specific columns in a table

Hello: I have table_1 and say it has 6 columns. I would to love to have a code that will enable me to get data from a specifi...

mehr als ein Jahr ago | 1 answer | 0

Question

How to find which columns are different between two tables

Hello: I have 2 datasets (Table A and Table B). Table A has 1200 columns while that of B has 1205 columns. They all have the...

mehr als ein Jahr ago | 1 answer | 0

Question

How to convert a spectrum/spectra to a barcode

Hello guys, I have a spectrum (FTIR) and I want to convert the spectrum to a barcode data and possibly plot it. This could b...

fast 2 Jahre ago | 0 answers | 0

Question

Calculating Probability of a data

Hello friends, I have two data, dataA (26*1 double) and dataB (90*1 double). I want to calculate the probabilities of each eac...

fast 2 Jahre ago | 0 answers | 0

Question

Calculating the probability of a data point in a histogram

<</matlabcentral/answers/uploaded_files/116519/Picture1.png>> Hello: The image below is a histogram of a large data set (9...

fast 2 Jahre ago | 2 answers | 0

Question

PCA or clustering of an image

I have an image which is a concentration profile of ftir mapped spectra. This said image clearly has certain unique patterns an...

etwa 2 Jahre ago | 1 answer | 0

Question

Merge multiple .csv files of different dimensions into one data

Hi all: Say I have about 200 .csv files of different dimensions (e.g 6662*2 double and 6634*2 double) and I would like to merge...

etwa 2 Jahre ago | 1 answer | 0

Question

Writing Multiple CSV files

I have a dataset which has about 20 spectra. All 20 spectra share the same x-axis. So I have 21 columns, column 1 representing t...

mehr als 2 Jahre ago | 1 answer | 0

Question

Incorporating Procrustes to PCA

Hi: So I have a PCA matlab GUI. It can perform Jackknifing for displaying a training and prediction cloud plot of the data. T...

mehr als 2 Jahre ago | 0 answers | 0

Question

Adding Procrustes Code to a PCA

How do I add new instructions or code to an existing callback in a gui. I have a button that when I press in a GUI it performs a...

mehr als 2 Jahre ago | 1 answer | 0

Question

How to add new buttons and call backs to a gui

Hi all: I have a matlab GUI for performing Principal Component Analysis (PCA). Sometimes it is necessary to remove an outlier f...

mehr als 2 Jahre ago | 0 answers | 0

Question

Spectral or peak alignment

<</matlabcentral/answers/uploaded_files/82444/Slide1.JPG>> Hello: I have two spectra, Spectrum A and Spectrum B. Spectrum A i...

mehr als 2 Jahre ago | 3 answers | 0

Question

How to correct for peak shifts in an FTIR spectrum

Hello: Say I have two spectra, Spectrum A and Spectrum B. Spectrum A is the reference spectrum and spectrum B is one I just col...

fast 3 Jahre ago | 2 answers | 0

Question

Separating features in an image

<</matlabcentral/answers/uploaded_files/76886/IMG_6887.JPG>> Hello, if I have an image like the the one I have attached, how ...

fast 3 Jahre ago | 1 answer | 0

Question

Feature extraction from a map image

<</matlabcentral/answers/uploaded_files/76885/IMG_6890.JPG>> Hello, if I have an image like the the one I have attached, how ...

fast 3 Jahre ago | 0 answers | 0