So I have a dataset...(adsbygoogle = window.adsbygoogle || []).push({});

I am trying to use lets say values in column 1 to determine which values I need to plot from columns 5 and 6...

Reading about indexing in a matrix doesn't really help as it doesn't hint at how you might use values in one column to select values from another set of columns and I'm a bit stuck.

Any ideas?

**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!

# MATLAB Matlab indexing within a matrx

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