Community Profile

Daniel Robbins


university of Greenwich

40 total contributions since 2012

Contact

Daniel Robbins's Badges

Contributions in
View by

Question


Unusual result when removing NaNs
Hi, I have a large vector, 59787 data points, of which only 427 are numbers, the remaining are NaN's. In the workspace this i...

2 years ago | 1 Answers | 0

1

answer

Posted


Time-Frequency analysis
Hi All, I often hear about technical restrictions of using FFT and/or STFT and that wavelets are a better approach. However, wh...

3 years ago | 1346 views

Posted


Shapiro-Wilks test
Hi, I have followed examples online using MuPad for random numbers, but I would like to simply write a script as I would with ...

3 years ago | 2549 views

Posted


Identifying linear vs curvilinear relationship
Hi, Can anyone advise on the best method to identify if the relationship between two varibales is linear or curvilinear? I am c...

3 years ago | 1477 views

Responded


Re: Non linear association
Hi Greg, Thanks for the feedback - very helpful! If I understand your suggestions for my third query correctly, you are using ...

4 years ago | 1947 views

Posted


Non linear association
Hi, I am trying to establish the best way to check the similarity of the pattern of change in two signals/vectors. For a simple...

4 years ago | 1947 views

Question


Statistical analysis of variance
Does anyone know if there is a matlab function for Mauchly's test of sphericity? I have seen a few options in the file exchange ...

4 years ago | 0 Answers | 0

0

answers

Posted


Analysis of variance
Does anyone know if there is a repeated measures ANOVA function in the stats toolbox? anova1 is not the correct function and I a...

4 years ago | 1343 views

Responded


Re: Errorbars in a dataset
Hi Tom, This works well, thank you for your help - much appreciated! Dan

4 years ago | 1454 views

Posted


Errorbars in a dataset
Does anyone know how to plot errorbars on a line graph from data stored in a dataset? If I store the data in an array I can pro...

4 years ago | 1454 views

Responded


Re: Matix maths
Thanks to everyone who gave solutions, good to have a range of options to pick from!!

4 years ago | 2555 views

Posted


Matix maths
Does anyone know how I can sum all the diagonals of a matrix and get a vector of the results? For example if a had the followi...

4 years ago | 2555 views

Responded


Re: average of sections of an array
Works perfectly, thanks Bruno.

4 years ago | 1703 views

Posted


average of sections of an array
Does anyone know how to calculate windows of means in a vector? For example If I have a = [9 9 9 6 6 6 3 3 3] and I want to ca...

4 years ago | 1703 views

Posted


Correcting confidence elipse scripts
Hi, I am trying to work out how to generate confidence ellipses for datasets. I have tried the following code: %# generate da...

4 years ago | 2125 views

Posted


problem with uiimport
Hi, I am having a bizarre problem using uiimport. If I use the code: a=xlsread(uiimport); The code runs fine for 90% of the ...

4 years ago | 1196 views

Responded


Re: seacrhing/indexing a vector
Thanks gents, appreciate the feedback. I can see how to solve my problem now. Thanks again.

4 years ago | 1393 views

Posted


seacrhing/indexing a vector
Hi, I am trying to index a vector so I can establish the location of a given number. So for example, if x = 5 10 15 20 25 I can...

4 years ago | 1393 views

Posted


Axis labels on boxplot
I have writen the code posted below. The axis labels for the barchart work perfectly, however for the boxplot the category label...

4 years ago | 4958 views

Responded


Re: Edit error bars on bar chart
Hi Steve, Thanks for getting back to me. I have been thinking on the lines you suggest. The issue I have is that my data is a s...

4 years ago | 4502 views

Posted


Edit error bars on bar chart
Hi, I am using the follwoing code to produce a bar chart: b = mean points of data d = standard deviation of data bar(b) hold on...

4 years ago | 4502 views

Responded


Re: Loading multiple files into a dataset
Thanks dpb, appreciate the help!

4 years ago | 11799 views

Responded


Re: Loading multiple files into a dataset
Apologies Steven, I missed the code in the middle of your last message (think I have been staring at the screen for too long......

4 years ago | 11799 views

Responded


Re: Loading multiple files into a dataset
Ok, I changed the brackets as suggested: textfiles=dir('*.txt'); a= zeros (1,10); %for i = 1:10 % a(i)=i*2; %end for i = 1:l...

4 years ago | 11799 views

Responded


Re: Loading multiple files into a dataset
Hi Steven, Thanks for the advice. I have actually looked at these sections before. I tried writing the code in as advised iin s...

4 years ago | 11799 views

Responded


Re: Loading multiple files into a dataset
Hi Peter, Thanks for your help, I think what your suggesting is the answer to the second part of of my problem - which is great...

4 years ago | 11799 views

Responded


Re: Loading multiple files into a dataset
Hi Steve, I have tried both the methods on the link you provided, but I find that all of the data is not stored, only the first...

4 years ago | 11799 views

Responded


Re: Loading multiple files into a dataset
Hi Tom, The join function looks very good, I think that will be great for bringing the data together. What would your recomme...

4 years ago | 11799 views

Posted


Loading multiple files into a dataset
Hi, I have a series of .txt files which contain data I would like to load into MATLAB and combine to form a dataset. Each file ...

4 years ago | 11799 views

Solved


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

4 years ago

Load more