How to find letters indicating significant differences at alpha=0.05?

How to find the letters a, b, ab indicating significant differences using MATLAB at alpha-=0.05? Also, how to write the letters on the plot?

3 Comments

Significance testing should be done on data, not on a plot. And what do you mean exactly with the secoond part of your question?
I have understood how to conduct the significance testing using MATLAB. How to place the letters "a", "ab" and "b" on top of the error bars? Any code for that?
You can probably use the text() function. Is that what you mean?

Sign in to comment.

Answers (1)

Hey Abhishek,
As mentioned by @Rik, use the text function to get the desired outputs.
Here are some links to other discussions on the MATLAB Answers forum that may be of help to you:
There are many other such discussions on this forum that may guide you.
Hope this helps!

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products

Release

R2019b

Community Treasure Hunt

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

Start Hunting!