How can I do it practically in matlab? I need the logic behind it.

Similar questions and discussions