I am having trouble when testing the Datasets with the corrupted one.

1 view (last 30 days)
I have attached the file where you can view. As you can see at bottom there is a testing section where after I entered the corrupted value it should adjust it and give me back the nearest value. But here, it gives me higher value where it cant acceptable. guide me guys.

Accepted Answer

Image Analyst
Image Analyst on 16 Mar 2014
It's giving you the maximum of the absolute deviation of the differences. This will always be a number >= 0, just like you told it. What do you think the value is higher THAN ? If you don't like the value you told it to give you, then what value would you prefer .
  1 Comment
Alagesan
Alagesan on 16 Mar 2014
Edited: Alagesan on 16 Mar 2014
I want that corrupted value that I insert in testRecord column 5 to be like the original. e.g:
testRecord= [27,59,1725,35, 51 ];-------column 5= 51( this value I insert to test the data. If you looking the coding W represent a differential Hebbian rule]
after I run I want the column 5 to be exact like the original value or atleast nearest. So I can round up it.
original= [27 59 1725 35 55 ]------column 5 shows the original.
so after I run the testing part it must manage to adjust the corrupted value ]

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!