Rank: 1763 based on 71 downloads (last 30 days) and 6 files submitted
Personal Profile:

 

Watch this Author's files

 

Files Posted by Manu Raghavan View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
18 Mar 2010 Flatten nested cell arrays Linearize a cell array tree structure Author: Manu Raghavan flatten cell lineariz..., flatten, cell, linearize, blp, bloomberg 19 5
  • 5.0
5.0 | 2 ratings
03 Nov 2009 Largest memory block available (All platforms) Find the largest contiguous memory block available for array allocation on all platforms. Author: Manu Raghavan largest memory block ... 6 1
20 Aug 2009 Screenshot Macopen Opens a file in its default application, similar to what winopen.m does on Windows machines. Author: Manu Raghavan winopen open 11 0
25 Mar 2002 Screenshot GROUPFIND Find groups of data from a vector. Author: Manu Raghavan matrices, find group, search, vector, vectorize 6 3
  • 3.66667
3.7 | 3 ratings
28 Feb 2002 EXPLORE3D Turns a figure window into a flight simulator so you can explore your 3-D data. Author: Manu Raghavan data exploration, 3d flight simulator, fly, through, zoom, explore 8 8
  • 4.6
4.6 | 5 ratings
Comments and Ratings by Manu Raghavan View all
Updated File Comments Rating
23 Jul 2010 Flatten nested cell arrays Linearize a cell array tree structure Author: Manu Raghavan

You can use this function to flatten the output from Bloomberg's unordered BLP interface in the Datafeed Toolbox.

14 Mar 2010 Google Earth Toolbox Various plotting/drawing functions that can be saved as KML output, and loaded in Google Earth Author: scott lee davis

This is a fantastic contribution.

10 Jul 2009 meow.m For cat lovers everywhere. Author: Phillip M. Feldman

Meows quite adequately.

Comments and Ratings on Manu Raghavan's Files View all
Updated File Comment by Comments Rating
02 Oct 2014 SCATTERBAR3 Creates a 3-D bar chart where bars are placed in user specified X-Y locations. Author: Manu Raghavan Alessandro Masullo

26 Oct 2013 Flatten nested cell arrays Linearize a cell array tree structure Author: Manu Raghavan L. Hare Duncare

Doesn't work if your cell array has function handles in it.

>> C1 = flatten({{1 {2 3}} 'f' {'e' 'g'} {4 @isempty 5} 6})
Error using horzcat

Here's the fixed code (using `cat` for slight performance bump):
C = {};
for i = 1:numel(A)
if ~iscell(A{i})
C = cat(2, C, A(i));
else
Ctemp = flatten(A{i});
C = cat(2, C, Ctemp);
end
end

14 Mar 2013 Largest memory block available (All platforms) Find the largest contiguous memory block available for array allocation on all platforms. Author: Manu Raghavan Keith

On my machine, allocating these huge matrices within the largestmemblock function takes ~15 seconds, where it is practically instant in the workspace. If you replace:

A = zeros(round(B), 1, 'uint8');

with:
evalin('base',sprintf('XMEMBLOCKLARGEX = zeros(%i,1,''uint8''); clear XMEMBLOCKLARGEX;',round(B)));

it runs much, much faster.

16 Nov 2012 SCATTERBAR3 Creates a 3-D bar chart where bars are placed in user specified X-Y locations. Author: Manu Raghavan Claudio

Exactly what i was looking for!
I suggest to set the 'renderer' to 'zbuffer' to improve figure editing readiness.

02 Nov 2012 Flatten nested cell arrays Linearize a cell array tree structure Author: Manu Raghavan Alexander Kosenkov

I guess, this simple code is much more efficient:

result = [list{:}]

Contact us