datatip showing incorrect value

조회 수: 10 (최근 30일)
ARKADEEP SETT
ARKADEEP SETT 2020년 7월 16일
답변: ARKADEEP SETT 2020년 7월 16일
Hi,
This is my simple program. But in the plot data tips is showing incorrect value. The last value of input is 65535 and output is 60335, but the data tips showing 5 less!!!
input = [511:512:65535];
output = input - 5200;
output(output<0) = 0;
plot(input,output,'+-');
grid on;

채택된 답변

ARKADEEP SETT
ARKADEEP SETT 2020년 7월 16일
Thanks a lot!!! It worked. Hope MATLAB pathes it.

추가 답변 (1개)

Sugar Daddy
Sugar Daddy 2020년 7월 16일
편집: Sugar Daddy 2020년 7월 16일

카테고리

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

태그

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by