[~,~,CG(:,1)]=unique(Y) - is it possible to do this in Mathcad? This is a programming made in matlab I am interested in knowing how this would be done in mathcad more than anything [~,~,CG(:,1)]=unique(Y); this operation, is it possible to do this in mathcad?
%CG=zeros(nod,3);%-----------Main Coordinates------------------------------------ --------------------------------------[~,~,CG( :,1)]=unique(Y);%index of unique values in YCG( :,1)=CG(:,1)-ones(assent, 1);ngl=max(CG(:,1));%----------Secondary Coordinates------------------------------------- --------------- --------------- --------------- ----- -CG2=zeros(2,nod-nr);for i=1:(nod-nr)*2ngl=ngl+1;CG2(i)=ngl;finalCG(nr+1:size(CG,1),2:3)=CG2';return
Translated by Andra Chirila using Google Translate on March 23rd, 2023-----------------------------------------------------------------------------------------------
Esta es una programacion hecha en matlab me interesa saber como se haria esto en mathcad mas que todo [~,~,CG(:,1)]=unique(Y); esta operacion, es posible hacer esto en mathcad?
% CG=c