Display Summation sign showing both upper and lower limit

조회 수: 58 (최근 30일)
Bijit Banik
Bijit Banik 2011년 6월 30일
댓글: Dyuman Joshi 2024년 1월 2일
Hello,
Does anybody help me in displaying Summation notation (∑, sigma symbol) having both upper and lower limit ?
Thanks a billion !
Bijit

채택된 답변

Paulo Silva
Paulo Silva 2011년 6월 30일
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
Bijit Banik
Bijit Banik 2011년 6월 30일
Great ! Thank you soooo much.
Dyuman Joshi
Dyuman Joshi 2024년 1월 2일
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)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by