How to remove negative value at the out put..
7 次查看(过去 30 天)
显示 更早的评论
Please help me friends.. how to get rid of this negative values..?
0 个评论
回答(1 个)
Image Analyst
2015-4-24
What does "get rid of" mean? Do yoiu want to change the limits of the y axis? Do you just want to get new data values by subtracting the min from all your data:
y = y - min(y);
Do you just want to remove negative values from the data:
y(y<0) = [];
5 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Programmatic Model Editing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!