If it's malabsorbtion you could try taking a digestive enzyme with every meal and an acidophilus supplement to help restore good bacteria in your gut. They're available from health food stores.
However it sound like something you've eaten isn't passing properly, you could try a detox for a few days to help clear what ever it is.
Also try adding nori strips to your food when cooking, it helps remove the gas from certain foods.