Community Profile

photo

Christopher Hummersone


University of Surrey

46 total contributions since 2008

Professional Interests: Audio Signal Processing

Contact

Contributions in
View by

Responded


Re: Choose function depending on user input
Steven Lord" <slord@mathworks.com> wrote in message [snip] Thanks for the reply Steve. What if the arguments to be passed to ...

6 years ago | 3126 views

Posted


Choose function depending on user input
GUIs are widely used to alter the operation of a function depending on the user input. Commonly, the user inputs are simply para...

6 years ago | 3126 views

Responded


Re: frequency analysis
Assuming that you have the signal processing toolbox, you could try 'spectrogram'. Chris [snip]

6 years ago | 2721 views

Responded


Re: Print figures with a patch object into a searchable pdf file
snip] I know this reply is a bit random but I googled for this, couldn't find a solution, but now have one so thought I would s...

6 years ago | 6077 views

Responded


Re: problem with Matlab 2009a on x64 Ubuntu intrepid
Oh and I also edited: ~/.matlab/R2009a/mexopts.sh and commented out the line CFLAGS='-ansi -D_GNU_SOURCE' in the 'glnxa64' ...

7 years ago | 14397 views

Responded


Re: problem with Matlab 2009a on x64 Ubuntu intrepid
Well I've got pretty close: I installed gcc-4.2 etc and changed the symlinks in /usr/bin to point to them (as opposed to gcc-4.4...

7 years ago | 14397 views

Responded


Re: problem with Matlab 2009a on x64 Ubuntu intrepid
Hey, I am having a similar problem. I'm running R2009a on Ubuntu 9.1 (karmic koala). Did you ever fix it? I also tried creating...

7 years ago | 14397 views

Responded


Re: problem with Matlab 2009a on x64 Ubuntu intrepid
Hey, I am having a similar problem. I'm running R2009a on Ubuntu 9.1 (karmic koala). Did you ever fix it? I also tried creating...

7 years ago | 14397 views

Responded


Re: Feeding array subsets into mexCallMATLAB
Well it didn't actually take that long to find the problem and, as I suspected, it was something stupid (trying to get a pointer...

7 years ago | 2558 views

Responded


Re: Feeding array subsets into mexCallMATLAB
Well it didn't actually take that long to find the problem and, as I suspected, it was something stupid (trying to get a pointer...

7 years ago | 2558 views

Responded


Re: Feeding array subsets into mexCallMATLAB
Well that makes me feel slightly better, but scared at the same time! Stupid question I know, but what details should I check ...

7 years ago | 2558 views

Responded


Re: How to insert a variable as a cell array in GUIDE?
Sorry, my bad, I only skim-read. What about using eval? Chris

7 years ago | 4681 views

Responded


Re: How to insert a variable as a cell array in GUIDE?
snip] Nope, concatenating two char arrays with brackets has always produced a larger char array. See http://www.mathworks.com/...

7 years ago | 4681 views

Responded


Re: Feeding array subsets into mexCallMATLAB
Thanks a lot for that Rune. I'm only just starting with C/Mex so it's probably a stupid coding error, but of course my lack of e...

7 years ago | 2558 views

Responded


Re: how to: construct wave at precise pitch -> play using sound(y)
Personally, I prefer to define my sample rate rather than derive it: fs = 44100; % Hz t = 0:1/fs:5; % seconds f = 440; % Hz y ...

7 years ago | 15054 views

Responded


Re: Feeding array subsets into mexCallMATLAB
Hey James, Thanks for your reply. I'm doing everything in mex simply because the MATLAB function may be called millions of time...

7 years ago | 2558 views

Posted


Feeding array subsets into mexCallMATLAB
Hi, I'm a bit of a newbie to the world of C/Mex. I want to convolve some data from a Mex file and consequently will use mexCall...

7 years ago | 2558 views

Responded


Re: Binary images and EPS?
I thought I would just post my findings for future reference. I was probably being a but dim but it turns out the interpolation...

7 years ago | 3466 views

Responded


Re: Binary images and EPS?
How strange! I've tried it on two Intel MacBooks (one running R2008B on OS X 10.4 and the other running R2007A on OS X 10.5) a...

7 years ago | 3466 views

Responded


Re: Binary images and EPS?
Here is an example of the code I'm using: z = rand(10); z(z<0.5) = 0; z(z>=0.5) = 1; figure; imagesc(z) colormap([1 1 1; 0 0 0...

7 years ago | 3466 views

Responded


Re: Binary images and EPS?
Here is an example of the code I'm using: z = rand(10); z(z<0.5) = 0; z(z>=0.5) = 1; figure; imagesc(z) colormap([1 1 1; 0 0 0...

7 years ago | 3466 views

Responded


Re: Binary images and EPS?
Thanks for your reply Oliver. I am using imagesc and not pcolor to plot 2-D [logical] matrices...

7 years ago | 3466 views

Posted


Binary images and EPS?
Hi, I have some binary images/plots (black and white) that I wish to print to eps files for use in LaTeX. The problem is that ...

7 years ago | 3466 views

Responded


Re: Efficient weighting
oops, perhaps "zeros" should have been "rand" or such like...

7 years ago | 1409 views

Posted


Efficient weighting
Hi, I'm trying to weight a signal using an exponential window; the signal is three-dimensional. The code I'm currently using i...

7 years ago | 1409 views

Responded


Re: 2008a evaluate selection / keyboard
Maybe my bug is not quite the same but I find that I can evaluate a long section of code so long as I do it in snippets, esp doi...

8 years ago | 3409 views

Posted


resizing database
It might help if you posted some code... :-)

8 years ago | 1411 views

Responded


Re: 2008a evaluate selection / keyboard
I certainly can, although I'm in R2007a. It's quite frustrating... :-( I don't suppose you came up with a solution? Chris

8 years ago | 3409 views

Responded


Re: Dotted line and png plots
I am having the same problem. And not only that, but LaTeX characters are not rendering correctly either (they have odd bits mi...

8 years ago | 11428 views

Responded


Re: Categories in Plot legend
Thanks a lot for the info Steve. Unfortunately the 'extent' property is read-only. So like I say, adjusting 'x' in the 'positi...

8 years ago | 4238 views

Load more