datatip showing incorrect value

14 次查看(过去 30 天)
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 中查找有关 Startup and Shutdown 的更多信息

标签

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by