Rank: 5026 based on 15 downloads (last 30 days) and 1 file submitted
photo

Alex R.

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by Alex R.
Updated   File Tags Downloads
(last 30 days)
Comments Rating
28 Nov 2014 Save entire command history - Updated, Fast Saves a complete record of all commands. Author: Alex R. save, command history, preserve 15 2
Comments and Ratings by Alex R. View all
Updated File Comments Rating
11 Dec 2014 Save entire command history - Updated, Fast Saves a complete record of all commands. Author: Alex R.

@Peter Muellers, sure. However, this file can be set to save the history to a global location and thus seamlessly survive reinstallations, version upgrades, different operating systems and even different machines etc. I have it set to save on Dropbox and my saved history is about 15 MB (been using it since R2012a or so).

Plus, it saves into plain .m code which I think is more useful, especially for quick and dirty work (the new XML format introduced in R2014a is not so human friendly)

24 Sep 2014 GPUBench Compare GPUs using standard numerical benchmarks in MATLAB. Author: Parallel Computing Team

@Fabio: This is on a Macbook Pro Late 2013, 2.3 Ghz, 16 GB. See last two rows. Seems only the FFT double-precision is faster than the CPU (about twice as fast). \ and * are much slower. Pretty crippled performance ...
Apple should have used the Quadro K1100M (same physical chip as the 750M without the crippled double-precision). From the looks of it, it's not really worth the effort of coding for the GPU on the MBP with 750M. You can just stick with the CPU. Problem is that if you want to buy the MBP without the 750M but with the same CPU, you end up paying the same price (at least that was the case back in May when I bought it).

Results for data-type 'double'
(In GFLOPS) Results for data-type 'single'
(In GFLOPS)
MTimes Backslash FFT MTimes Backslash FFT

Quadro K6000 1489.50 453.38 141.32 3998.82 737.72 295.48
Tesla K20c 1005.00 490.83 110.40 2690.21 772.21 257.51
Tesla C2075 327.83 242.26 69.13 684.97 425.15 144.56
GeForce GTX TITAN 213.35 124.43 90.89 3840.88 735.68 328.85
GeForce GTX 680 139.20 97.53 58.82 1468.69 620.54 214.67
Quadro 2000 38.60 33.01 14.18 232.90 122.57 46.32
GeForce GT 640 18.13 14.08 8.51 185.60 95.49 33.62
Quadro K600 13.24 10.69 6.17 135.40 0.01 26.57

Host PC 136.45 82.92 7.90 250.23 178.69 5.71
GeForce GT 750M 27.38 23.01 13.83 348.97 0.03 59.32

14 Nov 2013 Draw a filled circle Plots a filled circle with given radius, center and color. Author: Sadik

I know this is old but I wanted to note that it can be done easier and faster as follows:

t = 2*pi/N*(1:N);
fill(c(1)+r*cos(t), c(2)+r*sin(t), color);

Also note that you don't need both 0 and 2pi (they are the same polar point). Your code actually generates N+1 points.

[ depending on N, the above can be substantially faster than using linspace() + ones() + pol2cart() ]

Alex.

27 Oct 2013 savefig Save *cropped* figures to pdf, eps, png, jpeg, and tiff through Ghostscript. Author: Peder Axensten

This now conflicts with 'savefig' which is included in Matlab R2013b

06 Aug 2013 export_fig Exports figures nicely to a number of vector & bitmap formats. Author: Oliver Woodford

Great package. You can safely detect Ghostscript under Windows by reading the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Artifex\GPL Ghostscript" (if 64bit) or "HKEY_LOCAL_MACHINE\SOFTWARE\Artifex\GPL Ghostscript" (if 32bit).

Use Matlab's winqueryreg() function or execute "reg" via system() to read the Windows registry.

Keep up the good work!

Comments and Ratings on Alex R.'s Files View all
Updated File Comment by Comments Rating
11 Dec 2014 Save entire command history - Updated, Fast Saves a complete record of all commands. Author: Alex R. Alex R.

@Peter Muellers, sure. However, this file can be set to save the history to a global location and thus seamlessly survive reinstallations, version upgrades, different operating systems and even different machines etc. I have it set to save on Dropbox and my saved history is about 15 MB (been using it since R2012a or so).

Plus, it saves into plain .m code which I think is more useful, especially for quick and dirty work (the new XML format introduced in R2014a is not so human friendly)

10 Dec 2014 Save entire command history - Updated, Fast Saves a complete record of all commands. Author: Alex R. Peter Muellers

In R2011a the history save limit was increased from 20K bytes to 200K bytes. More recently in R2014a the limit was changed to 25,000 commands but can be increased to as many as 1,000,000 commands via the Command History Preferences.

Contact us