how to include shortcode inside custom fields of wordpress

use short code below:

<?php echo apply_filters(‘the_content’, get_post_meta($post->ID,’shortcode’, true)); ?>

where shortcode field is custom field name.