필터 지우기
필터 지우기

in between two points

조회 수: 2 (최근 30일)
melik matas
melik matas 2020년 5월 2일
편집: melik matas 2020년 5월 9일
How can I write that there are ten '*'s between two points? How can I do this? plot
  댓글 수: 2
darova
darova 2020년 5월 2일
you mean string?
s = ['a' repmat('*',1,10) 'b'];
Or you want to plot something?
Olawale Ikuyajolu
Olawale Ikuyajolu 2020년 5월 2일
write as a title or what?

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

답변 (1개)

Olawale Ikuyajolu
Olawale Ikuyajolu 2020년 5월 2일
string = 'a{\ast \ast \ast \ast}b'
  댓글 수: 4
Olawale Ikuyajolu
Olawale Ikuyajolu 2020년 5월 2일
Should be like this
'a^{\ast\ast\ast\ast}b'
for text title('') in plot and text on a plot
Walter Roberson
Walter Roberson 2020년 5월 2일
st = ['a^{', repmat('\ast', 1, 10), '}b']

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

카테고리

Help CenterFile Exchange에서 Lighting, Transparency, and Shading에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by