Rank: 2586 based on 30 downloads (last 30 days) and 2 files submitted
photo

Michael Stachowsky

E-mail

Personal Profile:

Professional Interests:

 

Watch this Author's files

 

Files Posted by Michael View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
16 Sep 2009 ntimes Multiplies arrays of 2D matrices in an efficient manner. Author: Michael Stachowsky matrix multiplication, 3d, mathematics 19 1
30 Oct 2008 vecInsert.m vecInsert(elemToInsert,position,vecIn) Insert elements into a vector at given positions Author: Michael Stachowsky vector insertion, resizing 11 3
  • 3.0
3.0 | 1 rating
Comments and Ratings by Michael
Updated File Comments Rating
03 Nov 2008 vecInsert.m vecInsert(elemToInsert,position,vecIn) Insert elements into a vector at given positions Author: Michael Stachowsky

Actually, x(pos) = values; will overwrite the existing vector elements. vecInsert will move the existing values so that nothing is overwritten.

Comments and Ratings on Michael's Files View all
Updated File Comment by Comments Rating
23 Sep 2009 ntimes Multiplies arrays of 2D matrices in an efficient manner. Author: Michael Stachowsky Simoneau, Matthew

The "(2)" in the filename makes it impossible to run.

05 Nov 2008 vecInsert.m vecInsert(elemToInsert,position,vecIn) Insert elements into a vector at given positions Author: Michael Stachowsky Jos (10584)

This looks reasonably OK, but could be improved. However, it misses a H1 line (first line of the help section used by lookfor to get the name of a function based on key words) and an example. Moreover, it fails on certain inputs, like test([99 100],[5 5],1:10), without proper error message.

And did you look at INSERTROWS which has similar functionality:
http://www.mathworks.com/matlabcentral/fileexchange/9984

03 Nov 2008 vecInsert.m vecInsert(elemToInsert,position,vecIn) Insert elements into a vector at given positions Author: Michael Stachowsky Stachowsky, Michael

Actually, x(pos) = values; will overwrite the existing vector elements. vecInsert will move the existing values so that nothing is overwritten.

02 Nov 2008 vecInsert.m vecInsert(elemToInsert,position,vecIn) Insert elements into a vector at given positions Author: Michael Stachowsky Roossien, B.

If I understand correctly, this function does nothing more than

x(pos) = values;

where x, pos and values are all vectors.

Top Tags Applied by Michael
3d, mathematics, matrix multiplication, resizing, vector insertion
Files Tagged by Michael View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
16 Sep 2009 ntimes Multiplies arrays of 2D matrices in an efficient manner. Author: Michael Stachowsky matrix multiplication, 3d, mathematics 19 1
30 Oct 2008 vecInsert.m vecInsert(elemToInsert,position,vecIn) Insert elements into a vector at given positions Author: Michael Stachowsky vector insertion, resizing 11 3
  • 3.0
3.0 | 1 rating
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com