aneps
Followers: 0 Following: 0
Learning Physics Professional Interests: Atomic and Molecular Physics, Ion Optics, Surface Science
Feeds
提问
'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...
2 years 前 | 2 个回答 | 0
2
个回答提问
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...
2 years 前 | 1 个回答 | 0
1
个回答提问
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...
2 years 前 | 0 个回答 | 0
0
个回答提问
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...
2 years 前 | 1 个回答 | 0
1
个回答提问
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...
2 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
6 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
7 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
7 years 前 | 0 个回答 | 1
0
个回答提问
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 ...
7 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
8 years 前 | 1 个回答 | 0
1
个回答提问
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...
8 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
8 years 前 | 2 个回答 | 0
2
个回答提问
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 = [...
8 years 前 | 1 个回答 | 0
1
个回答提问
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...
8 years 前 | 2 个回答 | 0
2
个回答提问
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...
8 years 前 | 1 个回答 | 0
1
个回答提问
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') ...
9 years 前 | 1 个回答 | 0
1
个回答提问
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...
9 years 前 | 2 个回答 | 0
2
个回答提问
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 ...
9 years 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
10 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
10 years 前 | 1 个回答 | 0
1
个回答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...
10 years 前 | 0
提问
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...
10 years 前 | 1 个回答 | 0