# David Harra

Followers: 0 Following: 0

**Statistics**

**MATLAB Answers**

**26** Questions

**0** Answers

RANK**10,570**

of 291,561

REPUTATION**4**

CONTRIBUTIONS

**26** Questions

**0** Answers

ANSWER ACCEPTANCE **
92.31%
**

VOTES RECEIVED**4**

RANK

of 19,803

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 146,345

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

**Feeds**

Question

Can't integrate function using Matlab

I am trying to do a basic integration of a formula for 4 different values. After doing a bit of reading, apparently I need to cr...

1 year ago | 2 answers | 0

### 2

answersQuestion

Plot Different Line Styles using a for loop plot

I am Trying to creat a plot that has 4 different curves and each curve has a different line style. I have tried a number of way...

1 year ago | 1 answer | 0

### 1

answerQuestion

How to locate X value for a given Y value

I have Data which is Time along the x-axis and amplitude along the y -axis. I want to know the exact time at a given value ...

1 year ago | 2 answers | 0

### 2

answersQuestion

Error with plot command

I am just trying to do a basic plot but I can't seem to get it to work. I keep getting an error saying "Index exceeds the numb...

1 year ago | 2 answers | 0

### 2

answersQuestion

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

3 years ago | 1 answer | 0