Curve Matching in Two different Figures
5 ビュー (過去 30 日間)
古いコメントを表示
Hi, I have a figure that contains about 10 curves. I have another figure that has only one curve. I want to math one curve figure with one of the curves in the figure that has 10 curves. Both figures have different scale.It is only the curve I want to match. Please how do I do it? Thanks
Regards, Isa
0 件のコメント
回答 (1 件)
Jan
2012 年 12 月 28 日
What does "match" exactly mean? Do you want to compare the mean value, the shape, are the curves shifted horizontally or vertically only, do they have the same mean, but different scales, or are the curves equal expect for some noise?
If only the scales (and means) differ, you can "normalize" them by dividing by the maximum absolute value (and subtracting the mean). Then "matching" could mean to find the minimum difference between the single curve and the set of curves. Now "minimum difference" must be defined also: does "distance" mean the sum of the absolute differences of all points, the maximum difference, the mean or minimal difference, the standard deviation of the differences, etc.?
7 件のコメント
Jan
2012 年 12 月 30 日
@Isa: Please insert all important information by editing the original question. This is the location, where readers expect them.
You still did not explain what "match" exactly means, but this is the fundamental point of your question. I have the impression, you want to move and resize the axes object with the mouse until you find a visually similar curve. This procedure would be neither reproducible nor exactly enough for a scientific usage. A programmatic comparison and a quantification of the difference is required. But even then there are curves, which have the same distance to two curves of your set. Again I want to stress, that distance between curves have to be defined at first according to your exact needs.
It is much better to keep the complete discussion here in the public forum and not to send further information by email.
参考
カテゴリ
Help Center および File Exchange で Descriptive Statistics についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!