create a bar graph

2 views (last 30 days)
matlab coder
matlab coder on 21 Nov 2020
Edited: Rik on 21 Nov 2020

Accepted Answer

Setsuna Yuuki.
Setsuna Yuuki. on 21 Nov 2020
Edited: Setsuna Yuuki. on 21 Nov 2020
Here there is an example:
c = categorical({'Jan ','feb','March '});
y = [2000 3000 4000];
bar(c,y)
  5 Comments
matlab coder
matlab coder on 21 Nov 2020
check the matlab programming for engineers book. you will see its not a assignment or exam question. ı study on my own and ı share the question that ı couldnt find a way to solve. ı suggest you to think one more time before judge people, and also this is not your instagram page, you cant decide what ı will share!!! its not cheating, and ı am not student!
Rik
Rik on 21 Nov 2020
Edited: Rik on 21 Nov 2020
I'm not judging you personally. I also don't see why it would be bad to be a student. I'm not claiming this forum as my personal space and I have only fairly limited means to enforce any standard. Those limited options were granted to me through the reputation system and Mathworks can decide at any moment to take them away. I have not edited away any part of this discussion.
I do not claim you are cheating, merely that this looked to me like homework and it is better to give a man a fishing rod than a fish.
If you are interested in the reasons why, they are outlined in the guidelines for posting homework questions. The same reasons apply to homework assignments you have assigned yourself.

Sign in to comment.

More Answers (0)

Categories

Find more on Graph and Network Algorithms in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!