datatip showing incorrect value
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
ARKADEEP SETT
le 16 Juil 2020
Réponse apportée : ARKADEEP SETT
le 16 Juil 2020
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;
0 commentaires
Réponse acceptée
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Matrix Indexing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!