I deleted your answer, for the following reasons (taken together):
It was flagged by a member of the community as 'not an answer', this user is an avid MATLAB user, and so would (presumably) know what an answer for a MATLAB question looks like.
It references a comment, which means that you felt like you should have commented instead of answered.
It asks a question, does this help? Are you expecting the user to engage you in conversation about whether that helped? if so, such engagement begs for a comment, and not an answer. Askers are free to engage in an answerer's post, but if you're actively soliciting such engagement, it's a sign that you're not answering the question so much as discussing possible answers -- the realm of a comment.
Here are a few things you can do to make sure your answers aren't deleted:
Keep the wishy washy stuff like, "I don't know how to solve your problem, but...<answer> or "This is not an answer, but..." out of your answer. You may not be fully confident in your answer, but make it an answer.
If you need to engage the asker in conversation, then leave a comment on the question.
- Try not to say, "to expand on my comment". Just nix that line altogether. It gives the impression you want to make a comment but can't, because the system won't let you post a long comment.
If you actually wrote an answer, and you feel like your answer was wrongly deleted, then you can always flag your post for moderator attention, and use the 'other' flag to state:
Answer was deleted erroneously, this is an answer to the question asked.
Keep in mind, there are mulitple reasons to delete an answer, and that's just one.
I've undeleted your answer after your most recent edit.