필터 지우기
필터 지우기

Tanh graph with ±

조회 수: 2 (최근 30일)
Kenneth Bisgaard Cristensen
Kenneth Bisgaard Cristensen 2021년 3월 30일
댓글: Star Strider 2021년 3월 30일
Hi MATLAB Community,
How do I add ± to a,b,c,d like ing the graph?
Any help would be appriciated.
a = 95.80266;
b = -88.53938;
c = 30.84839;
d = -16.56475;
y = a+b*tanh((x+c)/d);
plot(y,tanh(x));
grid on;

채택된 답변

Star Strider
Star Strider 2021년 3월 30일
That is an annotation textbox, specifically the result of Create Text Box Annotation with Multiline Text in MATLAB.
You can try usiing them, however I have always found them extremely difficult to work with, so I use text objects instead, since they are simply easier to work with.
  댓글 수: 4
Kenneth Bisgaard Cristensen
Kenneth Bisgaard Cristensen 2021년 3월 30일
Okay thanks, that was really helpful, I appriciate it.
Star Strider
Star Strider 2021년 3월 30일
As always, my pleasure!

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

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by