필터 지우기
필터 지우기

HOW CAN I DEAL WITH NEGATIVE VALUS I AM RECEIVING AFTER PERFORMING DECOMPOSITION

조회 수: 3 (최근 30일)
sabitri
sabitri 2022년 8월 14일
답변: Matt J 2022년 8월 14일
I have performed periodic plus smooth decomposition on u.. Now i am getting p and s as periodic , smooth component. But they contain negative values which is creating problem in further calculation....what should i do now?

답변 (1개)

Matt J
Matt J 2022년 8월 14일
Threshold them?
x=[-2 -1 0 1 2 3]
x = 1×6
-2 -1 0 1 2 3
xpos=max(x,0)
xpos = 1×6
0 0 0 1 2 3

카테고리

Help CenterFile Exchange에서 Matrix Decomposition에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by