How to create cirlces in matlab?

3 views (last 30 days)
Andrea Miceli
Andrea Miceli on 29 Jun 2021
Edited: KSSV on 29 Jun 2021
Hi everyone, I was wondering if there is any possibility of making a chart like this on matlab (this one I entered). Also including arrows.

Accepted Answer

KSSV on 29 Jun 2021
YEs you can draw such circles, using:
th = linspace(0,2*pi) ;
r = 1;
c = [ 0 0] ;
x = c(1)+r*cos(th) ;
y = c(2)+r*sin(th) ;
Also you can show them by using markers, you can give the markers size, color and shape.
To draw arrow read about quiver, annotation.
  1 Comment
Andrea Miceli
Andrea Miceli on 29 Jun 2021
KSSV thank you so much. I was wondering if you could help me also on this one . No need of a code, just some infomation about it.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!