Display Summation sign showing both upper and lower limit

16 views (last 30 days)
Hello,
Does anybody help me in displaying Summation notation (∑, sigma symbol) having both upper and lower limit ?
Thanks a billion !
Bijit

Accepted Answer

Paulo Silva
Paulo Silva on 30 Jun 2011
figure1 = figure;
axes1 = axes('Parent',figure1,...
'Position',[0.13 0.262 0.762 0.663]);
text('Parent',axes1,'Interpreter','latex',...
'String','$$\sum_{i=1}^{2n} |k_i-k_j|$$',...
'Position',[0.377 -0.270 9.160],...
'Fon tSize',16);
  2 Comments
Dyuman Joshi
Dyuman Joshi on 2 Jan 2024
Note that the syntax used above does not work -
figure1 = figure;
axes1 = axes('Parent',figure1,...
'Position',[0.13 0.262 0.762 0.663]);
text('Parent',axes1,'Interpreter','latex',...
'String','$$\sum_{i=1}^{2n} |k_i-k_j|$$',...
'Position',[0.377 -0.270 9.160],...
'FontSize',16);
Use this instead -
figure1 = figure;
axes1 = axes('Parent',figure1);
x = 0.5;
y = 0.5;
str = '$$\sum_{i=1}^{2n} |k_i-k_j|$$';
text(axes1, x, y, str, 'Interpreter', 'latex', 'FontSize', 16)

Sign in to comment.

More Answers (0)

Categories

Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!