As mentioned in the comments the problem with your latest question, and possibly the others too, is that it's not self-contained and that your description of the problem is a bit too crude.
The question can be significantly improved by
- incorporating the two method descriptions in the question, rather than just linking to external websites. The links can be kept, but as references only. This way, your question looks more interesting, is easier to understand and, more importantly, becomes self-contained. We all know that external links may eventually break, and then your question would be worthless to future users.
- providing more details about your specific problem.
"The first source seems to be incorrect cause when I calculate it using matlab it comes to be different from what they have given as the answer." How is it different? What's the source for the "answer"? Show your data and your work!
"As for the second link I cant understand that cause its not completely explaining as to how to calculate." What exactly can't you understand? Provide the details of the method (as mentioned above), and specify where you're lost.
To sum up: help other people help you!
Note that editing the question will bump it to the list of active questions, and this may draw more attention to it. If you still don't get any answers, you can put a bounty on it.