Community Profile

photo

Daniel


Last seen: 5일 전
26 2016 이후 총 참여 횟수

담당자

Daniel's 배지

  • Thankful Level 2
  • Revival Level 1

세부 정보 보기...

참여 게시물
보기 기준

답변 있음
Arrange data based on filenames
I think I figured out a way to do what I was hoping. X = -5:0.1:9; Y = 3.5:0.1:10.2; path = 'mypath'; files = dir([path '*al...

19일 전 | 0

| 수락됨

질문


Arrange data based on filenames
I have many thousand files whose data I would like to arrange in an array in a particular way based on their filenames. Each fil...

22일 전 | 답변 수: 2 | 0

2

답변

질문


Complicated grouped bar legend
Here's my plot code: cpgroup = reshape(Cp(2:end),5,[]); cpgroup = [nan,Cp(1),nan;cpgroup]; figure, b = bar(1:6,cpgroup,'FaceC...

약 1달 전 | 답변 수: 1 | 0

1

답변

답변 있음
Edit and run a script with another script
I found a way. I just copied and pasted the two existing scripts into a new one and created a loop around them. Pretty easy, but...

약 1달 전 | 0

| 수락됨

질문


Edit and run a script with another script
I need to use two scripts that are part of a packaged program many, many times in a row, so I'd like to find a way to essentiall...

약 1달 전 | 답변 수: 1 | 0

1

답변

질문


Tiledlayout issues: colorbar title and spacing
I've just discovered tiledlayout. At first, it seemed like a good solution to some of the difficulties with subplot, but I'm fin...

약 1달 전 | 답변 수: 1 | 0

1

답변

질문


Loading data to/from network drives
I have a lot of data in multiple files produced by a simulation that I now want to process in Matlab. I've looked before at the ...

약 2달 전 | 답변 수: 1 | 0

1

답변

답변 있음
How to remove open contours
Here's what I finally figured out. I'm certain that improvements could be made as I'm not an "efficient" coder. I welcome input....

약 2달 전 | 0

| 수락됨

질문


How to remove open contours
I have a volume of data. At each x location, I'd like to process some contours in the y-z plane. As part of that, I'd like to on...

2달 전 | 답변 수: 1 | 0

1

답변

질문


What is the fastest way to load many large files and then reuse that data
I have upwards of 200 .csv files that are around 500 MB each. Each file contains a one line text header and 10 columns of numeri...

3달 전 | 답변 수: 1 | 0

1

답변

질문


Find multiple values closest to zero
I have a series of vectors all with multiple zero-crossings, but not always the same number. I've tried this, this, this, and th...

4달 전 | 답변 수: 2 | 0

2

답변

질문


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

4달 전 | 답변 수: 0 | 0

0

답변

답변 있음
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...

5달 전 | 0

| 수락됨

답변 있음
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) ...

5달 전 | 0

| 수락됨

질문


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

5달 전 | 답변 수: 1 | 0

1

답변

질문


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

5달 전 | 답변 수: 3 | 0

3

답변

질문


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

5달 전 | 답변 수: 1 | 0

1

답변

질문


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

6달 전 | 답변 수: 1 | 0

1

답변

질문


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

7달 전 | 답변 수: 0 | 0

0

답변

질문


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

10달 전 | 답변 수: 2 | 0

2

답변

질문


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

10달 전 | 답변 수: 1 | 0

1

답변

질문


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년 이상 전 | 답변 수: 0 | 0

0

답변

답변 있음
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년 이상 전 | 0

질문


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

3년 이하 전 | 답변 수: 0 | 0

0

답변

질문


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

3년 이하 전 | 답변 수: 0 | 0

0

답변

질문


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

4년 이하 전 | 답변 수: 1 | 0

1

답변