California Polytechnic State University-San Luis Obispo to Samuel Merritt University buses and trains from $39

Here are some trips other travelers have found on Routefriend.
$39
5h 22m
0 stops
Amtrak
$46
6h 31m
2 stops
Amtrak BART
$47
6h 22m
2 stops
Amtrak BART