MATLAB: How can I measure the differences between tow diagram?I attached tow diagram.

matlab guide

how can I measure the differences between tow diagram?I attached tow diagram.

Best Answer

Measure the difference in the data instead. If the data is the same length on the same boundary then one way is RMS,
sqrt( sum((double(data1) - double(data2)).^2) )
or if the data is already double,
sqrt( sum( (data1 - data2).^2 ) )