how to write zeta in matlab
27 次查看(过去 30 天)
显示 更早的评论
Hi
I am trying to legend the roots of my function as zeta1,zeta2....
I used this answer,
figure();
x = real(r0);
y = imag(r0);
for ii = 1:numel(r0)
plot(x(ii),y(ii),'ro');
hold on
% % text(x(ii),y(ii),sprintf('Zero #%d',ii), ...
text(x(ii),y(ii),sprintf('Zero %d',ii), ...
'VerticalAlignment','top','HorizontalAlignment','center');
grid on
end
I find this answer work but HOW can I write zeta instead of zero in this line text(x(ii),y(ii),sprintf('Zero #%d',ii), ...
2 个评论
Voss
2022-4-11
@Aisha Mohamed Please see my recent comment on another question: https://www.mathworks.com/matlabcentral/answers/1681714-how-to-distinguish-between-four-zeros-in-matlab-plotting#comment_2097180
回答(1 个)
Torsten
2022-4-11
2 个评论
Torsten
2022-4-11
@Aisha Mohamed comment moved here
Hi
I did this . I write (\zeta) but ths does not work , I can not see this zeta in my figure. why this happened and how can me solve this problem please?
Thanks
:
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!