How to remove negative value at the out put..

8 次查看(过去 30 天)
Please help me friends.. how to get rid of this negative values..?

回答(1 个)

Image Analyst
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 个评论
nani kalyan
nani kalyan 2015-4-24
Here, i have attached simulink model and the value " k " must be taken from the workspace which was the data of excel 5th coloumn i.e. load
Jakey Wang
Jakey Wang 2020-3-20
The second code is actually so good. I used it in my coursework. Thank you!!

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Multicore Processor Targets 的更多信息

标签

尚未输入任何标签。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by