Borrar filtros
Borrar filtros

How to remove negative value at the out put..

5 visualizaciones (últimos 30 días)
nani kalyan
nani kalyan el 24 de Abr. de 2015
Comentada: Jakey Wang el 20 de Mzo. de 2020
Please help me friends.. how to get rid of this negative values..?

Respuestas (1)

Image Analyst
Image Analyst el 24 de Abr. de 2015
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 comentarios
nani kalyan
nani kalyan el 24 de Abr. de 2015
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 el 20 de Mzo. de 2020
The second code is actually so good. I used it in my coursework. Thank you!!

Iniciar sesión para comentar.

Categorías

Más información sobre Programmatic Model Editing en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by