Question

Smooth data prone to bifurcation

I have data that I am interrogating for certain trends. Sometimes, it's prone to bifurcation due to the bounds of the data. What...

8 days ago | 0 answers | 0

Answered

Find max/min level of all intersections of a given contour curve with another set of contour curves

I think this works for my purposes, at least. I'm sure there's a much more efficient way. for i = 1:length(ccp) % These are lev...

Find max/min level of all intersections of a given contour curve with another set of contour curves

I think this works for my purposes, at least. I'm sure there's a much more efficient way. for i = 1:length(ccp) % These are lev...

27 days ago | 0

| accepted

Answered

Append nested cells in a loop

Figured it out. This works, though I'm open to other suggestions. count = 1; for i = 1:length(ccp) for j = 1:length(cct) ...

Append nested cells in a loop

Figured it out. This works, though I'm open to other suggestions. count = 1; for i = 1:length(ccp) for j = 1:length(cct) ...

27 days ago | 0

| accepted

Question

Append nested cells in a loop

I am trying to store nested cells in a loop, but can't figure it out. I'm pretty sure this is almost trivial, but it's escaping ...

27 days ago | 1 answer | 0

Question

Find max/min level of all intersections of a given contour curve with another set of contour curves

I have two sets of contours, call them A(x,y) and B(x,y). For given contour level of A, I would like to find all the intersectio...

28 days ago | 3 answers | 0

Question

Interpolate to plot contour in plane of non-uniform 3D data

I have a set of three dimensional data (attached) that is on a non-uniform grid. In the code below, you see how I load, reshape,...

2 months ago | 1 answer | 0

Question

Concatenate same fields in multiple structures in a loop using field names

I have several .mat files and each is a structure with the same fields. For each field, I'd like to create an array that has the...

2 months ago | 1 answer | 0

Question

Plot min values of one matrix on contour of another

I have two matrices that are each made as functions of the same two variables. So say they are A(x,y) and B(x,y). I don't know t...

3 months ago | 0 answers | 0

Question

Fastest way to match elements in two vectors and return indices?

I have the code below to assemble data taken from several files. The outer loop isn't really important. Once in it, it first use...

6 months ago | 2 answers | 0

Question

Something like reshape but accounting for missing values

I have a columnwise array of x- and y-coordinates with values at those x,y pairs. The full set of coordinates is predetermined a...

7 months ago | 1 answer | 0

Question

More complete explanation of how confint works

At the bottom of the page for the function |confint|, under "Tips", it says, "To calculate confidence bounds, |confint| uses R-1...

2 years ago | 0 answers | 0

Answered

Error: Analog Output underflow event

I don't remember at this point how I fixed this, but here is the code I use now that works. The only relevant difference I see i...

Error: Analog Output underflow event

I don't remember at this point how I fixed this, but here is the code I use now that works. The only relevant difference I see i...

2 years ago | 0

Question

Why does stepsize in stream2 only adjust the x-coordinate stepsize?

I'm using stream2 to get streamline coordinates. I want those coordinates to have the same discretization as my velocity data, s...

2 years ago | 0 answers | 0

Question

How to reshape and interpolate filtered 2D data

I have filtered PIV data in .dat files. There are four relevant columns, the x-coordinate, (column two), y-coordinate (column 3)...

2 years ago | 0 answers | 0

Question

Error: Analog Output underflow event

I am trying to simultaneously record two analog inputs and create a digital output using a National Instruments DAQ. I cannot ge...

3 years ago | 1 answer | 0