필터 지우기
필터 지우기

How to remove negative value at the out put..

조회 수: 5 (최근 30일)
nani kalyan
nani kalyan 2015년 4월 24일
댓글: Jakey Wang 2020년 3월 20일
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에서 Programmatic Model Editing에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

제품

Community Treasure Hunt

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

Start Hunting!

Translated by