function key = symbol(c,i) % generate a key corresponding to a symbol s = gtsamSymbol(c,i); key = s.key();