Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (14 sloc) 425 Bytes
function vec=addmin(invec)
% vec=ADDMIN(invec)
%
% Repeats the entries of an input vector INDEX times
% where INDEX is the array index, and constructs a new vector with these
% repeated array elements (these could be numbers or strings).
% Useful for real spherical harmonics.
%
% Last modified by fjsimons-at-alum.mit.edu, Jan 27th, 2003
invec=invec(:);
L=size(invec,1)-1;
el=1:L+1;
vec=gamini(invec,el);
vec=vec(:);
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.