Community Profile

# Duncan Wright

10 total contributions since 2017

View details...

Contributions in
View by

Question

How to fit a linear line on a semilog plot?
I'm struggling to fit a linear line on my log linear regression. Here is my code: figure(2) subplot(2,2,1) [slope7, i...

presque 2 ans ago | 0 answers | 0

### 0

Question

How to convert to datenumber from two cell values
date = cell2mat(tmp{1}(1)) time = cell2mat(tmp{1}(2)) dt = datenum([date time], 'dd:mm:yyyy HH:MM:SS') ...

presque 2 ans ago | 1 answer | 0

### 1

Question

Block averaging a large matrix
How do I go about block averaging a large matrix?? My structure 'EchoSounder1FBin1_Data' has the fields with the following dimen...

environ 2 ans ago | 1 answer | 0

### 1

Question

Trouble using the smooth function
I am trying to block average this data using the smooth function. My variable is a double with dimensions, size(data) = ...

environ 2 ans ago | 1 answer | 0

### 1

Question

Box plot - plotting multiple datasets on one plot
Following the documentation I'm unable to get 4 datasets plotted on whisker a plot. My 4 dataset are called Bheading, Bheadin...

environ 2 ans ago | 1 answer | 0

### 1

Question

Pcolor Error: Matrix Dimensions Must Agree
I'm trying to plot the following variables using the pcolor variable: t1.lat = 100x1 t1.lon = 100x1 t1.u = 100x50 ...

environ 2 ans ago | 1 answer | 0

### 1

Question

Surf plot: Data dimensions must agree.
Can't for the life of me figure this out.. trying to plot the following: surf(transect1.lon,transect1.lat,transect1.z,tr...

environ 2 ans ago | 1 answer | 0

### 1

Question

Is it possible to concatenate structures with the same fields in to one super structure?
I have structures c and c1, each contain 55 fields with the same names. The field dimensions differ slightly in the x domain ...

environ 2 ans ago | 4 answers | 0

### 4

Question

Is there a quick method to remove data from a structure?
I'm trying to remove data from my structure (ie first 27000 points). I am aware of a method I could use (demonstrated below),...

plus de 2 ans ago | 1 answer | 0

### 1

Question

How to insert a int value into the name of a variable (for loop)
I'm trying to iterate throw these variable names in a for loop, here's my code: form= 'dd-mmm-yyyy HH:MM:SS'; for i ...

plus de 2 ans ago | 1 answer | 0