Community Profile

photo

Janna Hinchliff


Last seen: etwa 2 Jahre vor Aktiv seit 2018

Followers: 0   Following: 0

Statistiken

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


How do I merge two figures into one?
I have two separate figures plotted and I want to make them into a single figure. I don't just want two separate figures in the ...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How do I concatenate two matrices into alternating rows?
I have two 2x4 matrices (actual matrices I'm using are much bigger than this in both dimensions), say [1,2,3,4;5,6,7,8] and [a...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How do I sort files by part of their filename?
I have a set of files in a folder and the labelling is Max_I=0.5 Max_I=1.0 Min_I=0.5 Min_I=1.0 etc. I want to plot the da...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How does an incoherent beam propagate in free space?
I've written a code that takes a circle function, adds some decoherence and propagates it through space: L = 500; ...

fast 3 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How do I create a source field of light through a circular aperture?
I have been trying to construct a code where I propagate a light source through a circular aperture. So far I have L1=0.5; ...

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Any notes or examples available on calculating the modulation transfer function of an imaging system in matlab
Hi everyone, Just wondering if anyone has experience of using matlab to calculate the modulation transfer function of an imagi...

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can I solve a set of equations using a function handle?
I have a set of data made up of values between 0 and 1: biglambda = [ 0.0455 0.0476 0.0500 0.0526 0.0556 0.0588 ...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How do I add data to multiple figure windows in one loop?
I want to make a loop where I plot two different parameters on two different figure windows, such that each iteration of the loo...

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can I compute the beam diameter of an image?
I have a set of ccd images of a laser beam and I want to be able to compute the beam diameter (in mm) from each image. Currently...

etwa 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How can I get matlab to execute one or both parts of a code depending on whether a variable exists?
I want to define a cell of data from a particular file if that particular file exists and a different cell of data if a differen...

etwa 5 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


How do I extract the exponent from a semilogy plot?
If I use semilogy to plot some data such that the plot appears as a straight line, how can I extract the exponent of this line? ...

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can I find the exponent of a log plot?
I'm plotting some data on a log scale using the code for k = 1:length(dataeachcurrent) temparray(k) = 1000./(T.TIcell{dat...

etwa 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How can I split data into categories based on one element in a cell?
I have data stored in a cell in the form dataovenparamcell = {oventemp,ovencurrent,timeto50,data}; where there are 6 1x4 cell ...

etwa 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How can I sort data in cells?
I have some sets of data saved in a cell array, where each element in the cell array is another cell array containing 3 elements...

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How do I get the coordinates of a fit line using makedist
I'm plotting a lognormal distribution where I use the command [fit confidence] = lognfit(censoredFailTime,[],censored); to fit...

etwa 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How do I name a graph using a string with probplot?
I'm trying to change the title of a probplot graph to a string that is dependent on the parameters calculated in a loop. The cod...

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Selecting files based on name - how to select files WITHOUT suffix
I've been given some data to analyse and the file names are in the following format: Optowell3956814 Optowell3956814Censoring ...

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Using if statements correctly
I am using an if statement to determine whether entries in matrices are non-zero. If I write the code if matrixarray(1,1)~=0 ...

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How do I find the nearest value to a number that is bigger than that number?
I'm using the command [~,indexToClosestMatch] = min(arrayfun(@(x)min(abs(x-val)),matrixcellarray{j}(:,1))); to find the value ...

etwa 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Plotting in a for loop
I have a code that reads data in a set of files and does some plots and fits on the data. The code I have at the moment is: D =...

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How do I make a 2D density plot using 3 sets of coordinates?
I want to make a plot equivalent to the ListDensityPlot function in Matlab. This takes a set of coordinates, X, Y and Z and plot...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How do I calculate the error of a fitted curve?
Say I have some data points, which I do not have error bars for, and I fit a Gaussian (or possibly Lorentzian) curve to these da...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How do I manipulate specific elements in a cell array?
I have written a code that gives me a cell array containing several cells with the same dimensions, e.g. cellarray = {6x2 doubl...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How do I compare the result of the output of a loop with the previous output of the loop?
If I output data from a loop into a cell array such that each iteration of the is stored as an individual cell in a single cell ...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort