Thank you for a good function. This should be a part of MATLAB's standard package. You should consider however, the case where ind is larger than the maximum number of rows.
A = zeros(2,3) ; B = [1;1];
c = insertrows(A.', B.',5)
Here it would be a good idea to add zeros at the end, or something like that. I guess the current implementation is a safety for users that have counted worng, but this should not be a limitation for the users that do this intently.
Also, the first index seems to be zero here. This is not normally the case in MATLAB and may cause confusion if a script or program have more than one author.
28 Aug 2013
3D CAD data to MATLAB Converter, CAD STL to MATLAB Patch.
Thanks for creating the IGES Toolbox. I'm trying to use it to read a truck IGES model (58729_Cement_Truck_NURBS.iges downloaded from http://www.3dcadbrowser.com/download.aspx?3dmodel=58729) and there's something funny about both ends of the trunk when the model is displayed (see problem here https://dl.dropboxusercontent.com/u/78384338/truck.png). Looks like something wrong with trimming the sphere surfaces. Any ideas/suggestions?? The model displays OK in Rhino.