in between two points
이전 댓글 표시
How can I write that there are ten '*'s between two points? How can I do this? plot
댓글 수: 2
darova
2020년 5월 2일
you mean string?
s = ['a' repmat('*',1,10) 'b'];
Or you want to plot something?
Olawale Ikuyajolu
2020년 5월 2일
write as a title or what?
답변 (1개)
Olawale Ikuyajolu
2020년 5월 2일
string = 'a{\ast \ast \ast \ast}b'
댓글 수: 4
Image Analyst
2020년 5월 2일
???
>> string = 'a{\ast \ast \ast \ast}b'
string =
'a{\ast \ast \ast \ast}b'
darova
2020년 5월 2일
the answer is unclear. Can you explain more?
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
2020년 5월 2일
st = ['a^{', repmat('\ast', 1, 10), '}b']
카테고리
도움말 센터 및 File Exchange에서 Characters and Strings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!