Code and Data




Matlab Reader for MPC Observations





Files: readMPC.m
Description: A simple file to load MPC formatted observations into Matlab. For more information on the MPC format can be found here.
Author: Jeremy Kubica
Language: Matlab
Usage: [IDs,obs] = readMPC(filename);
  • Input:
    • filename - The name of the MPC observation file to load.
  • Output:
    • IDs - A matrix with one row for each observation. Each row contains 6 entries the characters of the observation's ID in ASCII.
    • obs - A matrix of observations with one row for each observation. The row contains: [time_stamp, ra, dec, brightness]
Additional Notes: n/a
Last Update: 02-25-2004





Return to the code page.