datatip showing incorrect value

13 ビュー (過去 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 Center および File ExchangeMatrix Indexing についてさらに検索

タグ

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by