# David Harra

**Statistics**

**MATLAB Answers**

**22** Questions

**0** Answers

RANK**10,217**

of 271,724

REPUTATION**4**

CONTRIBUTIONS

**22** Questions

**0** Answers

ANSWER ACCEPTANCE **
90.91%
**

VOTES RECEIVED**4**

RANK

of 18,321

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 120,282

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

How to tell if random points are in the same feature or not

I have a vornoi diagram populated with random points of 2 arrays. From each of the points I can calculate the distance between...

3 months ago | 1 answer | 1

### 1

answerQuestion

Create line of pixels on an image

I am trying to achieve the Two Point Correlation function for a distribution of grain sizes. As a practice example, I have gen...

3 months ago | 1 answer | 0

### 1

answerQuestion

Can not envelope my data

I was looking to envelope my data so I can get the peaks and do some FFT on the data but when I go to envelope my signal I get a...

3 months ago | 1 answer | 0

### 1

answerQuestion

Using Data to reconstruct an image

I have 2 images of grains, one that contains smaller and one that contains significanlty larger. Each material is achieved via a...

4 months ago | 1 answer | 0

### 1

answerQuestion

How to plot 3D plot from polar plot

I am looking at plotting the the slowness profiles of Titinium (Inverser of velocity) by solving the christoffell equation. I h...

4 months ago | 1 answer | 1

### 1

answerQuestion

How to get centre frequency of a pulse

I have an A-scan coollected from a simulation. I am trying to obtaon the the centre frequency from the initial pulse and I am un...

6 months ago | 1 answer | 1

### 1

answerQuestion

Create Header with write matrix function

I have exported some data into a CSV file in from Matlab (144 x 4 matrix) At the top of each column I would like to add a titl...

6 months ago | 1 answer | 0

### 1

answerQuestion

Grain Model how to remove smaller grains

I have a grain model which consists of lots of tiny grains and clusters of of larger grains. I am wondering how it is possible t...

6 months ago | 3 answers | 0

### 3

answersQuestion

Fitting line to a curve

I have a plot of attenuation V frequency and I am wondering if there is a way I can fit a straight line the follows the upper tr...

8 months ago | 1 answer | 0

### 1

answerQuestion

Attenuation as a Function of Frequency

I am wondering if anyone has any experience moddelling how attenuation of a material. I have made an attempt but my attenuation ...

8 months ago | 2 answers | 0

### 2

answersQuestion

Pre Selecting Figures to plot

When I run my script I have 10+ figures plotting. Rather than commenting them out, I was wondering if there is a way to set up a...

8 months ago | 2 answers | 0

### 2

answersQuestion

Zero Pad My FFT Signal and Window

Hi Everyone I want to know how I can zero pad my FFT signal to make it longer so that I can get better frequency resolution. In...

8 months ago | 2 answers | 1

### 2

answersQuestion

Hanning window on Imported data

Hi everyone I am trying to add a hanning window to my time signal before I FFT it. I am not sure exactly what do. Looking at...

9 months ago | 1 answer | 0

### 1

answerQuestion

FFT when rescaling data

Hi everyone I have been trying to use an FFT on my imported data. My Time step from my data wasn't equidistant so I tried to ...

9 months ago | 1 answer | 0

### 1

answerQuestion

Frequency plot not working properly when using IFFT

I have impoted an ultrasound signal to matlab and I was to look at this signal in the frequency spectrum, but I am not sure if ...

9 months ago | 1 answer | 0

### 1

answerQuestion

Normalising and rescaling my ultrasonic signal

I am exciting ultrasound in wateter which then gooes through the material. I want to notrmalise my signal in such a way that it ...

9 months ago | 1 answer | 0

### 1

answerQuestion

Legend isn't including all entries

Hi everyone I am getting another error when creating my legend as one of my entries aren't showing figure(03) plot(Time...

9 months ago | 1 answer | 0

### 1

answerQuestion

Error when creating legend

Hi everyone I am trying to print my legend on one of my figures as follows legend('Signal', sprintf('Amplitude = %0.04d', 9....

9 months ago | 3 answers | 0

### 3

answersQuestion

changing values in an array

I have a 1000x1 array that ranges from 1 to 179. Any values above 90 in this array I need to do 180 minus any of those values ...

1 year ago | 1 answer | 0

### 1

answerQuestion

Magnitude of a matrix

I have a 1000 x 3 matrix where each column is associated the the x,y and z-direction. For each row I want to find the magnitud...

1 year ago | 1 answer | 0

### 1

answerQuestion

Error in Matlab code

I have attached a picture of my code with error message. It was working yesterday and now it is giving me an error and I don't ...

2 years ago | 1 answer | 0

### 1

answerQuestion

How to get matlab to read the code

I have converted data from OnScale to matlab. I have been given a script which will read the data from this subfolder. The data ...

2 years ago | 1 answer | 0