# aneps

Learning Physics Professional Interests: Atomic and Molecular Physics, Ion Optics, Surface Science

**Statistics**

RANK**3,174**

of 273,592

REPUTATION**14**

CONTRIBUTIONS

**56** Questions

**7** Answers

ANSWER ACCEPTANCE **
69.64%
**

VOTES RECEIVED**4**

RANK**12,200** of 18,459

REPUTATION**25**

AVERAGE RATING**5.00**

CONTRIBUTIONS**1** File

DOWNLOADS **1**

ALL TIME DOWNLOADS**205**

RANK

of 123,077

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

'MarkerFaceColor' according to y value

Is it possible to set the 'MarkerFaceColor' of the x y plot accroding to y value? I want matlab automatically choose accroding t...

3 months ago | 2 answers | 0

### 2

answersQuestion

How to plot x-z plot which is varying in time (a dynamic plot)?

I have my data (attached here), with col1: ion number, col2:x position, col3: yposition, col4: z position, col5: time, col6: tem...

3 months ago | 1 answer | 0

### 1

answerQuestion

ezfit using a function

I use ezfit to fit a gaussian in my data. It is straight forward as it is in the ezfit examples: f1 = ezfit(x,counts,'gauss...

7 months ago | 0 answers | 0

### 0

answersQuestion

How to find the curvature of a surface plot?

I made a surface plot that look like the screenshot below. I want to evaluate the curvature of the top region. The view showed h...

8 months ago | 1 answer | 0

### 1

answerQuestion

How to extract values within a circular region from a griddata?

I have a 2d matrix (100 x 100 size) obtained from the piece of code is as follows: N = 100; xv = linspace(min(CoordsX), max(Co...

8 months ago | 1 answer | 0

### 1

answerQuestion

Uicontrol to change variable and plot live

Hi, I want to make a plot, change the variable and update the plot interactively. For that I am using the following code with th...

2 years ago | 1 answer | 0

### 1

answerQuestion

find the index of the mean and mode of a plot

I have a plot with X and Y values. I want to find the value of X at corresponding to the mean and mode of Y. Also, it would be g...

5 years ago | 1 answer | 0

### 1

answerQuestion

To find the frequency components in the data and make a frequency plot

I have a data which is a frequency modulated signal. I want to make a matlab code to find the frequency components in it using F...

5 years ago | 1 answer | 0

### 1

answerQuestion

To Count the reversal of a series of numbers in a column or row.

I have a data with the first column as follows" A = [1 1 1 1 2 2 2 2 3 3 3 4 4 3 3 2 2 2 3 3 3 3 4 4 4 5 5 5 5 6 6 6 6 6 7 7 ...

5 years ago | 1 answer | 0

### 1

answerQuestion

How to make pulse sequence in a single plot with specific conditions?

I want to make pulse sequence in a single plot. For example I have 4 pulses. Pulse 1 is a square pulse with 1ms width and re...

5 years ago | 1 answer | 0

### 1

answerQuestion

How to read only text from a big data?

I have a huge data file (.txt) with some text and numeric data. It is organized as follows: Text1 .... Numeric data (m1x...

5 years ago | 1 answer | 0

### 1

answerQuestion

How to display comments in a .dat file?

I save my experimental data in a .dat file. The first 5 lines is just text and some blank lines. The text has important informat...

5 years ago | 1 answer | 0

### 1

answerQuestion

How to import a data from origin into matlab?

I am saving the data of my experiments in origin files. Each origin files has several Books and several sheets. For example, if ...

5 years ago | 0 answers | 1

### 0

answersQuestion

how to flip and combine two spectra for comparison

I want to compare two spectra. What I do is multiply the Y axis of one of the spectra with -1 and then plot both the spectra on ...

5 years ago | 1 answer | 0

### 1

answerQuestion

How to create a traveling sine wave?

I want to make create a traveling sine wave with with a specific frequency and wavelength moving with a specific speed v. How ca...

5 years ago | 1 answer | 0

### 1

answerQuestion

Create data tips at multiples points on a figure programatically

I have a matrix "MyData" with size 592 by 1. After plotting I want to place datatips at 2 points. How can I create datatips prog...

5 years ago | 1 answer | 0

### 1

answerQuestion

Code to split and save a big file according to the experiment number

I have a big .txt file where I have numerical data and text. It begin with text "# Data from the experiment1" and three columns ...

6 years ago | 1 answer | 0

### 1

answerQuestion

How to read a text file and split up into several text files saving with name successively.?

I have a text file. It is my experimental data in three columns. The file contain results of 10 or more experiments. The data lo...

6 years ago | 1 answer | 0

### 1

answerQuestion

To find the number of sections with negative values

I have data in the form of a matrix with 3 columns. On the third column it is the velocities. A sample look like this: 1 3 ...

7 years ago | 2 answers | 0

### 2

answersQuestion

smarter and faster way to read several files

I have several data files (.dat) on which I want to perform the following code: NL=8; Name = 'Output_1'; filename = [...

7 years ago | 1 answer | 0

### 1

answerQuestion

To read a .dat file by replacing 'nil' s with zeros

I have a .dat file with 3 columns : 56 1221.9522403147 4709.4286506579 57 1296.7593276229 2382.7334294788 58 1298...

7 years ago | 2 answers | 0

### 2

answersQuestion

To reflect a contour plot

I have my potential surface plot. I want to reflect it and plot the effective potential (contour plot). My code to plot the pote...

7 years ago | 1 answer | 0

### 1

answerQuestion

To fit power law

I want to fit power law on my data (Data attached here - Data.txt file). I have the following code: A=load('Data.txt') ...

7 years ago | 1 answer | 0

### 1

answerQuestion

Bin X data, sum corresponding Y data and then plot.

I have X data ranging from 0 to 999 and corresponding Y data. I want to bin the X data from 0 to 2000 with a bin size of 10. The...

7 years ago | 2 answers | 0

### 2

answersQuestion

How to plot a function which is in cylindrical coordinates - A 3D plot?

I am learning about traps in physics. I want to plot the following function on Matlab to visualize (A 3D plot): F(r,z) = k/2 ...

7 years ago | 1 answer | 0

### 1

answerQuestion

How to construct image from a .dat file?

I have performed some image analysis with some special software. It saved the final image (result) in a datafile (.dat extension...

8 years ago | 1 answer | 0

### 1

answerQuestion

Rotate the colormap image: Axis labels missing after rotation!

I have a colormap image as shown here. <</matlabcentral/answers/uploaded_files/22555/SampleImage.jpg>> I want to rotate ...

8 years ago | 1 answer | 0

### 1

answerQuestion

How to accumulate histograms?

I have data ranging from 0 to 1e5 (in microseconds). I want to make histogram for each successive 2.68 microseconds binning for ...

8 years ago | 1 answer | 0

### 1

answerHow to find uncertainties in the coefficients of polyfit

Try this: [P,S,MU] = polyfit(x,y,N) [y,DELTA] = polyval(P,x,S,MU) % this will give you the error Refer: http://www.ma...

8 years ago | 0

Question

How to select region on an intensity map(colormap)?

I have tried 'selectdata' function to select some region on my intensity plot (colormap), but it was not selecting the points. I...

8 years ago | 1 answer | 0