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 - The Fusion of Science and Community**

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

Loading...

Similar Threads for Meaning parentheses | Date |
---|---|

MATLAB -- what does ./ mean? | Jun 9, 2016 |

Explain the physical meaning of img . part of signal | Dec 10, 2015 |

Indicate mean with a bar in Matlab | Jun 21, 2012 |

Mathematica: mean of 2d function | Jun 7, 2012 |

Parentheses around mismatched size fractions in LaTeX | Apr 29, 2012 |

**Physics Forums - The Fusion of Science and Community**