How to shift my data in Y direction ?
2 次查看(过去 30 天)
显示 更早的评论
How I can shift the red coloerd data or the black coloerd data in the image below thus both are starting at same points in the y dierction so I will be able to compare the data?
Any suggestion? Please!!!
2 个评论
Walter Roberson
2019-4-23
minred = min(red_data);
minblack = min(black_data);
base = min(minred, minblack);
plot(time, red_data - base, 'r', time, black_data - base, 'k')
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!