Why is this coming back blank?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Marina Pirzada
le 4 Mai 2020
Commenté : Walter Roberson
le 5 Mai 2020
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/290062/image.png)
0 commentaires
Réponse acceptée
Walter Roberson
le 4 Mai 2020
You do not ask to display the results. We can see from the size information on the bottom left that exactly one result was found.
2 commentaires
Plus de réponses (1)
Image Analyst
le 5 Mai 2020
What is blank? Your variable is empty, or nothing got printed out to the command window. You can take the semicolons off if you want to have results go to the command window. Also, as far as I know, diff() wants an actual number for the second argument, like 1 or 2, not some undefined symbolic x, unless there's a different diff for those of you who have the Symbolic Toolbox.
1 commentaire
Voir également
Catégories
En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!