I simulate an article that attached here but the results are different from article itself.Please help me.the mistake is in line 92 in my mind.who can help me to solve this problem?
You should allways mention what error you are getting (the concrete error message). As Abhinav mentioned above we also can not run your code since we dont have this "ss" function which is probably some local function written by yourself.
Looking at the line you mentioned, it seems there is some error with the function handle defined there. It may be that at some point you pass in data, that is not compatible with this function. But it's just wild guessing without knowing which concrete error you get.
I have observed that your matlab is not update. I have simulate the codes with my computer and found it very accurate. The codes gave error in your matlab, The reason is that there is no m.file with name ss.m , I am attaching a code .Download it and save it in your folder where other codes are placed .Remember that do not rename the file. I think you may found it working. If it does not works then let me know.