Community Profile

Matthew Crema


10 total contributions since 2013

Contact

Contributions in
View by

Question


Converting a cell array of dissimilar structs to an array of structs
In R2013b, say I have an cell array of structs like the following % Some Mock Data data{1} = struct('day', 'Monday', 'Te...

2 years ago | 1 Answers | 0

1

answer

Responded


Re: Spectral Properties of NOISE
If the two software packages are reporting the slope in different units then I can not explain this without knowing more. What u...

2 years ago | 2145 views

Responded


Re: glm with probit model
I think I have a solution after reviewing another thread on the subject "glmfit binomial-probit with natural mortality" There is...

2 years ago | 5873 views

Responded


Re: Spectral Properties of NOISE
How far are you off? Nothing jumps out as wrong, except there may be some confusion about units. I believe that your y-axis labe...

2 years ago | 2145 views

Responded


Re: custom serial communication
I think at least a subset of the other pins are accessible, for example s = serial('COM1'); % Turn off DTR pin s.DataTerminalRea...

2 years ago | 1015 views

Responded


Re: glm with probit model
Hi Daniel and Peter, I realize this is an old thread, but was the "final" code for this problem posted somewhere? As in the p...

2 years ago | 5873 views

Answered
Create a shortcut to a file in a script
To create a folder if it does not exist: if ~exist(foldername,'dir') mkdir(foldername) end To create a shortcut y...

3 years ago | 0

Answered
How do I create a vector of the average of consecutive elements of another vector (without using a loop)?
One way: A=[2 4 6 8 10]; foo = conv([1 1], A)/2; B = foo(2:end-1) B = 3 5 7 9 -Matt...

3 years ago | 1

Answered
Integration of pwelch output and comparing it with the variance of a signal
It seems to me that the equality you are assuming is var(y) == int(pyr*deltaf) And I agree, this should be correct. However ...

3 years ago | 0

Answered
What is wrong with the angle???
Maybe you want to specify Beta in radians and not degrees: BeltForce(100, 0.3, 130*pi/180) ans = 197.5217

3 years ago | 0

| accepted