Rank: 65 based on 541 downloads (last 30 days) and 11 files submitted
photo

Ben Tordoff

E-mail
Company/University
MathWorks
Lat/Long
52.22944259643555, 0.153099998831749

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Ben View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
18 Jan 2012 Screenshot GPUBench Compare GPUs using standard numerical benchmarks in MATLAB. Author: Ben Tordoff gpu, performance, benchmark, bench, utilities, timing 62 1
  • 5.0
5.0 | 1 rating
15 Nov 2011 Screenshot A GPU Mandelbrot Set Explore the Mandelbrot Set using MATLAB and a GPU. Author: Ben Tordoff gpu, fractal, graphics 53 0
  • 5.0
5.0 | 1 rating
09 Nov 2011 Screenshot CPU Info Read various bits of information about the CPU and operating system. Author: Ben Tordoff cpu, potw, operating system, pick of the week 29 2
  • 4.5
4.5 | 2 ratings
20 Oct 2011 Screenshot GPU Julia Set Explorer Explore the Julia Set of the Mandelbrot Set using MATLAB and a capable GPU. Author: Ben Tordoff gpu, fractal, graphics 17 0
14 Jul 2011 Screenshot GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff gui, boxlayout, gridlayout, java, layout, potw 140 107
  • 4.96875
5.0 | 34 ratings
Comments and Ratings by Ben View all
Updated File Comments Rating
04 Jan 2012 CPU Info Read various bits of information about the CPU and operating system. Author: Ben Tordoff

Hi Daniel, I don't know much about CPU serial numbers, but from what I've read they don't exist in modern CPUs. See e.g.: http://en.wikipedia.org/wiki/Processor_Serial_Number#Controversy_about_privacy_issues

When I ask for the serial on my CPUs (on linux) I just get "none specified".

It might be possible to get the motherboard serial number, although I haven't managed to get it on Linux without sudo'ing (not a problem on Windows as far as I can tell).

What is it you want to achieve?

Cheers. Ben

13 Dec 2011 Multi progress bar A new "shiny" progress-bar with multiple bars in a single window, time-estimates and more. Author: Ben Tordoff

The simple answer would be:

multiWaitbar('Progress',0);
for uio=1:480
  ...
  multiWaitbar('Progress',uio/480);
end
multiWaitbar('Progress','close');
 
I wouldn't worry too much about calling it lots of times - it doesn't update unless the progress bar would visibly change. If you find it is taking a measurable amount of time then surround the inner call with something like

if mod(uio,10)==0
  multiWaitbar('Progress',uio/480);
end

That will make it update every tenth iteration of your outer loop.

Cheers. Ben

13 Dec 2011 Multi progress bar A new "shiny" progress-bar with multiple bars in a single window, time-estimates and more. Author: Ben Tordoff

Hi Karan, when you say "integrate" what do you mean? Are you just trying to show it/hide it whilst something is running or are you trying to embed the bars themselves into your GUI window? (the latter isn't possible in any sane way right now). If you can explain a bit more I (or someone else here) can probably give you some guidance.

28 Nov 2011 SplashScreen Show a splash-screen during MATLAB application start-up. Author: Ben Tordoff

Hi Andre, you must call this with a name for the window (i.e. a title) and the name of the image file you want it to show. For example: "s = SplashScreen('My App','myAppImage.png')". Type "help SplashScreen" for more information. If that still doesn't help you, let me know.

Ben

13 Oct 2011 Rotate X-axis tick labels Rotate x-tick labels to any angle, preserving font settings and coping with resize, zoom, pan etc Author: Ben Tordoff

Hi Chris, are you by any chance using a version of MATLAB older than R2010a?

If so, you may still be able to get it to work by replacing the '~' with a real variable name, but bear in mind this hasn't been developed or tested on older releases.

Cheers. Ben

Comments and Ratings on Ben's Files View all
Updated File Comment by Comments Rating
09 Feb 2012 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff Benjamin
07 Feb 2012 Rotate X-axis tick labels Rotate x-tick labels to any angle, preserving font settings and coping with resize, zoom, pan etc Author: Ben Tordoff Carlson, Johan

Hi,
On screen everything looks fine. However, when I try to print, the tick labels disappear, same as for Wolfgang. I'm running MATLAB 2011b (7.13.0.564) on Windows 7 (x64 version). All plot settings are at the default.

Other than that, great function!
/Johan

Here's the test script that used:

%------------------
clear all
close all
clc

x = 1:0.2:2.8;
y = x.^2;
plot(x,y);
xlab = get(gca,'XTickLabel');
xlab = num2str(xlab);
set(gca,'XTickLabel',xlab);
xlabel('X axis label');
ylabel('Y axis label');
title('Plot title');
rotateXLabels(gca, 45)
set(gcf, 'PaperPositionMode', 'auto');
print('-dpng','plot.png');

27 Jan 2012 Rotate X-axis tick labels Rotate x-tick labels to any angle, preserving font settings and coping with resize, zoom, pan etc Author: Ben Tordoff Pablo
25 Jan 2012 GPUBench Compare GPUs using standard numerical benchmarks in MATLAB. Author: Ben Tordoff Anthony, Thomas

Good benchmark for GPU's

04 Jan 2012 CPU Info Read various bits of information about the CPU and operating system. Author: Ben Tordoff Tordoff, Ben

Hi Daniel, I don't know much about CPU serial numbers, but from what I've read they don't exist in modern CPUs. See e.g.: http://en.wikipedia.org/wiki/Processor_Serial_Number#Controversy_about_privacy_issues

When I ask for the serial on my CPUs (on linux) I just get "none specified".

It might be possible to get the motherboard serial number, although I haven't managed to get it on Linux without sudo'ing (not a problem on Windows as far as I can tell).

What is it you want to achieve?

Cheers. Ben

Top Tags Applied by Ben
gui, gpu, graphics, fractal, plotting
Files Tagged by Ben View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
18 Jan 2012 Screenshot GPUBench Compare GPUs using standard numerical benchmarks in MATLAB. Author: Ben Tordoff gpu, performance, benchmark, bench, utilities, timing 62 1
  • 5.0
5.0 | 1 rating
15 Nov 2011 Screenshot A GPU Mandelbrot Set Explore the Mandelbrot Set using MATLAB and a GPU. Author: Ben Tordoff gpu, fractal, graphics 53 0
  • 5.0
5.0 | 1 rating
09 Nov 2011 Screenshot CPU Info Read various bits of information about the CPU and operating system. Author: Ben Tordoff cpu, potw, operating system, pick of the week 29 2
  • 4.5
4.5 | 2 ratings
20 Oct 2011 Screenshot GPU Julia Set Explorer Explore the Julia Set of the Mandelbrot Set using MATLAB and a capable GPU. Author: Ben Tordoff gpu, fractal, graphics 17 0
14 Jul 2011 Screenshot GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff gui, boxlayout, gridlayout, java, layout, potw 140 107
  • 4.96875
5.0 | 34 ratings

Contact us at files@mathworks.com