Hi guys, I am currently doing a Matlab program for partial pivoting. I looked at my friend's example:(adsbygoogle = window.adsbygoogle || []).push({});

I was wondering what's the meaning of the : in the parentheses. Is it some sort of Matlab keyword? Thanks for helpingCode (Text):% Partial Pivoting

for i=1:n-1

for j = i+1:n

if (a(j,i)) > (a(i,i))

u=a(i,:);

a(i,:)=a(j,:);

a(j,:)=u;

v=b(i,1);

b(i,1)=b(j,1);

b(j,1)=v;

end

end

end

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Meaning of : in the parentheses

**Physics Forums | Science Articles, Homework Help, Discussion**