hi, i want to remove an item from array, but get error
this is my code
align(1,:)='asd-as---tyr';align(2,:)='fg--ds--h-ty';for i=1:12 if align(1,i)=='-' & align(2,i)=='-' align(1,i)=[]; align(2,i)=[]; endend ??? A null assignment can have only one non-colon index.Error in ==> testt at 6 align(1,i)=[];
thanks in advance
Best Answer