Why is this coming back blank?
3 次查看(过去 30 天)
显示 更早的评论

0 个评论
采纳的回答
Walter Roberson
2020-5-4
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 个评论
更多回答(1 个)
Image Analyst
2020-5-5
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!