Is there a basic function that renders a vector into its scalar component (ie, turning r1 vector into just r1) in matlab? Trying to simplify some code.(adsbygoogle = window.adsbygoogle || []).push({});

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

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!

# Simple vector => to scalar in Matlab?

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