**Statistics**

RANK**263,051**

of 295,211

REPUTATION**0**

CONTRIBUTIONS

**33** Questions

**2** Answers

ANSWER ACCEPTANCE **
78.79%
**

VOTES RECEIVED**0**

RANK

of 20,193

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 153,380

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

**Feeds**

Question

Change file header and save the file -- do this for all files in directory.

Hello MatLab Community, I need help with some data text files. I have various text files with different names. I want to load e...

1 year ago | 1 answer | 0

### 1

answerQuestion

How to remove a whole row of data?

I have a column of data, A. I have a data matrix, X. I want to go through column A and see if each one of the entries in column ...

8 years ago | 2 answers | 0

### 2

answersQuestion

How to count number of words in a text file?

I have a text file with a large number of words, 'filename.txt'. I have a column of words 'A'. Example: A = ...

8 years ago | 2 answers | 0

### 2

answersQuestion

How could I use a loop in this case?

This is going to be a little difficult to explain. I have a data set in the following format: 2010 08 09 07 14 40....

8 years ago | 2 answers | 0

### 2

answersQuestion

What am I doing wrong with this function?

I have the following code: data = textread('new_data.txt'); D = sortrows(data,[11 7], {'ascend' 'descend'}); I get th...

8 years ago | 1 answer | 0

### 1

answerQuestion

How to convert char to number?

I have a data set that I am trying to format as follows: month = data (:, 2); % (2276x1) month =sprintf('%02d\n',month...

8 years ago | 1 answer | 0

### 1

answerQuestion

How can I format some numbers and pad them with zeros?

I have a data set where I have columns of data in the following format. 98.23 98.36 78.255 100.56 I basically w...

8 years ago | 1 answer | 0

### 1

answerQuestion

How to end ginput?

I have a code that uses ginput to gather data. I keep getting this message when I am done gathering data and close the figure. ...

8 years ago | 1 answer | 0

### 1

answerQuestion

How to navigate between figure windows?

I am using a code that plots a large number of data. The data set is so large that the figure is plotted in sections and the nex...

8 years ago | 1 answer | 0

### 1

answerQuestion

How to find eigen vectors?

I am using: A= [-5, 2; 2, -2]; [EigVec, EigVal] = eig(A) If I use Wolfram, I obtain Eigen Vectors = [1,2;1, -0.5]. Si...

9 years ago | 1 answer | 0

### 1

answerQuestion

isequal functions is not working, what am I doing wrong?

I have the following code, the result tells me it's false. What am I ding worng? A = [(1/sqrt(3)), (-1/sqrt(2)), (1/sqrt(...

9 years ago | 1 answer | 0

### 1

answerQuestion

How can I find the average between two points?

So, I basically have a column of data composed of numbers and NaNs. I want my code to go through the column and wherever it find...

9 years ago | 2 answers | 0

### 2

answersQuestion

How to use user input data in my code?

I'd ask the user to input a station name. Example: prompt = 'What is the station name?' name = input(prompt); Then I'...

9 years ago | 1 answer | 0

### 1

answerQuestion

Image area calculation and edge detection...

I have an amateur microscope image I would like to analyze. The image is attached. I want to create a code that selects the red ...

10 years ago | 1 answer | 0

### 1

answerQuestion

How do I use text for ticks on X axis?

I have a loop that gives a variable a different name: EX i = 1; while i < 5 if i == 1 name = ...

10 years ago | 1 answer | 0

### 1

answerQuestion

How can a draw a line between two points?

I have a plot that looks like the one below. I want to make vertical lines that connect each individual pair of blue & red point...

10 years ago | 2 answers | 0

### 2

answersQuestion

How do I find the index of a known number? (reverse indexing?)

I have a matrix M. I have a number XXXX. I want to find the index of this number within my matrix M. How can I do this?...

10 years ago | 1 answer | 0

### 1

answerQuestion

How to calculate a cumulative sum in a loop?

I have a loop that looks like this: for a = 1: 9 for b = 1 : 1000 for c = 1 : 1000 image =...

11 years ago | 1 answer | 0

### 1

answerQuestion

I'd like to create a loop that each time adds a new line to a .txt file.

I have a loop that generates a vector each time it loops through . my_vector = [ 4, 5, 6,7]; I'd like to create a loop tha...

11 years ago | 2 answers | 0

### 2

answersQuestion

I have datenum() error ?

I load in a column of dates in the format yyyymmdd, then try to plot them. When I actually plot them I get dates looking like Q2...

11 years ago | 1 answer | 0

### 1

answerHow can I get MATLAB to plot a date on the x-axis?

Hi dpb. I tried it this way, but for some reason it's plotting all my data as one date.

11 years ago | 0

Question

How can I get MATLAB to plot a date on the x-axis?

I have a dataset with column1 = date and column2 = data. The problem is that my date is in yyyymmdd format. How can I get MATLAB...

11 years ago | 3 answers | 0

### 3

answersQuestion

How to find mode between two columns?

I have two variables . They are each in a column. I want to find the most common pairs between the two columns. EX: ...

11 years ago | 1 answer | 0

### 1

answerQuestion

Is there a way to find the 'mode' of a histogram?

I generated a histogram (hist3) using two variables, is there a way to find the 'mode' from this histogram? Thanks !

11 years ago | 1 answer | 0

### 1

answerQuestion

How to make an if/else statement

My data file consists of 3 columns and 100,000 rows. I want my code to go down a series of rows and test each row for the follo...

11 years ago | 2 answers | 0

### 2

answersQuestion

How can I make a contour map from a scatter plot?

I have a set of x-y coordinates of points (around 100,000 of them) and I want to make a contour map of their concentration in th...

11 years ago | 1 answer | 0

### 1

answerQuestion

How can I make contour lines smoother?

How can I make contour lines smoother?

11 years ago | 3 answers | 0

### 3

answersQuestion

How can I delete a row of numbers in which the number in the first column is less than a threshold?

How can I delete a row of numbers in which the number in the first column is less than a threshold?

11 years ago | 2 answers | 0

### 2

answersHow to subtract vectors with different number of entries?

Both of these work perfectly. Thanks!

11 years ago | 0