Community Profile

photo

aneps


Last seen: 13 dagar ago Active since 2013

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

Statistics

All
  • First Review
  • 5-Star Galaxy Level 1
  • First Submission
  • Thankful Level 4
  • Knowledgeable Level 1
  • First Answer

View badges

Content Feed

View by

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

24 dagar ago | 2 answers | 0

2

answers

Question


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

27 dagar ago | 1 answer | 0

1

answer

Question


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

5 månader ago | 0 answers | 0

0

answers

Question


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

6 månader ago | 1 answer | 0

1

answer

Question


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

6 månader ago | 1 answer | 0

1

answer

Question


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

nästan 2 år ago | 1 answer | 0

1

answer

Question


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

mer än 4 år ago | 1 answer | 0

1

answer

Question


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

nästan 5 år ago | 1 answer | 0

1

answer

Question


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

nästan 5 år ago | 1 answer | 0

1

answer

Question


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

ungefär 5 år ago | 1 answer | 0

1

answer

Question


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

ungefär 5 år ago | 1 answer | 0

1

answer

Question


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

ungefär 5 år ago | 1 answer | 0

1

answer

Question


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

mer än 5 år ago | 0 answers | 1

0

answers

Question


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

mer än 5 år ago | 1 answer | 0

1

answer

Question


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

mer än 5 år ago | 1 answer | 0

1

answer

Question


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

mer än 5 år ago | 1 answer | 0

1

answer

Question


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

ungefär 6 år ago | 1 answer | 0

1

answer

Question


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

mer än 6 år ago | 1 answer | 0

1

answer

Question


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

mer än 6 år ago | 2 answers | 0

2

answers

Question


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

mer än 6 år ago | 1 answer | 0

1

answer

Question


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

mer än 6 år ago | 2 answers | 0

2

answers

Question


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

mer än 6 år ago | 1 answer | 0

1

answer

Question


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

nästan 7 år ago | 1 answer | 0

1

answer

Question


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

mer än 7 år ago | 2 answers | 0

2

answers

Question


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

mer än 7 år ago | 1 answer | 0

1

answer

Question


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

nästan 8 år ago | 1 answer | 0

1

answer

Question


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

nästan 8 år ago | 1 answer | 0

1

answer

Question


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

ungefär 8 år ago | 1 answer | 0

1

answer

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

ungefär 8 år 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...

ungefär 8 år ago | 1 answer | 0

1

answer

Load more