# Curious Mind

**Statistics**

**MATLAB Answers**

**40** Questions

**0** Answers

RANK**139,570**

of 276,243

REPUTATION**0**

CONTRIBUTIONS

**40** Questions

**0** Answers

ANSWER ACCEPTANCE **
55.0%
**

VOTES RECEIVED**0**

RANK

of 18,595

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 125,968

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 to remove the horizontal line at 0

Hi All, How do I get rid of the horizontal line at the zero (0) mark on the y-axis in a line plot? Please see attached image be...

2 years ago | 1 answer | 0

### 1

answerQuestion

How to pass gui output to workspace?

Hello, I am trying to develop a gui using matlab app designer. 1. How do I write the code such that the output of a push butto...

2 years ago | 1 answer | 0

### 1

answerQuestion

Accessing information within a structure in app designer and How to pass data from one push-button to the other

Hi, I am developing a simple app using the app designer. This is pretty new to me and I am not experienced when it comes to app ...

2 years ago | 1 answer | 0

### 1

answerQuestion

Code for saving files as .mat is very very slow

Hi, I am loading multiple .csv files into matlab and re-saving them as .mat files. The code takes way too long (hours) to save ...

3 years ago | 0 answers | 0

### 0

answersQuestion

Read data from matlab struct and merge

Hello, please I have multiple .mat files in a folder. Each one is a matlab struct called T and each T contains contains 2 files,...

3 years ago | 1 answer | 0

### 1

answerQuestion

Merge multiple txt files in matlab

Hello, I have multiple txt files and I want to merge them into a single matrix in matlab. Each file has 3 rows of headers. A su...

3 years ago | 0 answers | 0

### 0

answersQuestion

Put every 3 data points in matrix A into a separate row in matrix B.

Hi, I have the following column vector called A: 1 2 3 4 5 6 7 8 9 What I want is a code that will take every 3 data ...

3 years ago | 1 answer | 0

### 1

answerQuestion

Shifting signals to the right

Hi, I have a matrix, M which is 10*2000 double (10 rows of signals and each signal contains 2000 variables). I want to shift eac...

3 years ago | 1 answer | 0

### 1

answerQuestion

Perform rssq on each row

Hi, I have an 100:5000 data matrix called X and I want to perform root-sum-of-squares level on each row of X and output the resu...

3 years ago | 1 answer | 0

### 1

answerQuestion

Error using cd Cannot CD to ...(Name is nonexistent or not a directory)

Hi, I have the following code oldp = uicontrol(fig,... 'Style', 'Push',... 'BackgroundColor', [1 1 .7],... 'unit...

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 0 answers | 0

### 0

answersQuestion

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

3 years ago | 2 answers | 0

### 2

answersQuestion

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 years ago | 2 answers | 0

### 2

answersQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 2 answers | 0

### 2

answersQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

4 years ago | 2 answers | 0

### 2

answersQuestion

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

4 years ago | 1 answer | 0

### 1

answerQuestion

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

4 years ago | 1 answer | 0

### 1

answerQuestion

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

4 years ago | 1 answer | 0

### 1

answerQuestion

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

5 years ago | 0 answers | 0

### 0

answersQuestion

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

5 years ago | 0 answers | 0

### 0

answersQuestion

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

5 years ago | 2 answers | 0