Thank you for your query at DoctorSpring.com
Your blood reports as well as your blood glucose is fine. Typhoid is cured. However there are still some malarial parasites, and it will take some more time to disappear from the serum.
Since you still have positive malarial parasites, the entire process of blood flow will be impaired and with impending fatigue, the erection won't be as strong. There is no reason to worry, because you can expect normal length erections within the next 1-2 weeks, by that time the malaria will be treated completely.
I know it's affecting you mentally, but i can assure you there is no reason to worry so much.
One more thing is if it continuously keeps bothering you, then even psychologically the erection process will not be proper. You need a proper frame of mind to have strong erections. So as a doctor, i can assure you, you just need to be patient and it will get better in due time, after your complete recovery.