i have "Error in state of SceneNode. String scalar or character vector must have valid interpreter" Please help me to solve it T-T
21 次查看(过去 30 天)
显示 更早的评论
title("Trường hướng và nghiệm cho y' = 4y(1-y)\sin(10x)", "FontSize", 10);
xlabel('x'); ylabel('y');
axis([-2 2 -1 2]);
grid on;
legend('Trường hướng', 'Đường nghiệm', 'Location', 'NorthWest');
hold off;
0 个评论
回答(1 个)
Walter Roberson
2025-11-25,6:18
The TeX interpreter does not support any of the trig functions.
Furthermore, you coded \sin(10x) instead of \sin{10x}
In order to use \sin you would need to use LaTeX interpreter. Unfortunately, you are using UTF-8 characters such as
'ư'+0
and LaTeX interpreter does not support UTF-8 characters.
About all you can do is convert the \sin(10x) to sin(10x) (possibly including the space)
title("Trường hướng và nghiệm cho y' = 4y(1-y) sin(10x)", "FontSize", 10);
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 LaTeX 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

