Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.
clear % all variables
figure(1), hold off
set(gca,'FontSize',14) % adjust fontsize
text(0,10,'\leftarrow RX2 (x3,y3)=(0,10)','VerticalAlignment','middle','HorizontalAlignment','left')
text(0,0,'\leftarrow RX1 (x3,y3)=(0,0)','VerticalAlignment','middle','HorizontalAlignment','left')
center4=[0,0];
radius4=11;
N4=100; % number of points (circle resolution)
hold on
H=circle(center4,radius4,N4,'r-');
center5=[0,10];
radius5=1;
N5=100; % number of points (circle resolution)
hold on
H=circle(center5,radius5,N5,'r-');
center6=[0,0];
radius6=15;
N6=100; % number of points (circle resolution)
hold on
H=circle(center6,radius6,N6,'r-');
center7=[0,10];
radius7=5;
N7=100; % number of points (circle resolution)
hold on
H=circle(center7,radius7,N7,'r-');
screener.jpg
[x,y]=ginput;
plot(x,y,'ro-','linewidth',2,'markersize',10)
clear % all variables
figure(1), hold off
set(gca,'FontSize',14) % adjust fontsize
text(0,10,'\leftarrow RX2 (x3,y3)=(0,10)','VerticalAlignment','middle','HorizontalAlignment','left')
text(0,0,'\leftarrow RX1 (x3,y3)=(0,0)','VerticalAlignment','middle','HorizontalAlignment','left')
center4=[0,0];
radius4=11;
N4=100; % number of points (circle resolution)
hold on
H=circle(center4,radius4,N4,'r-');
center5=[0,10];
radius5=1;
N5=100; % number of points (circle resolution)
hold on
H=circle(center5,radius5,N5,'r-');
center6=[0,0];
radius6=15;
N6=100; % number of points (circle resolution)
hold on
H=circle(center6,radius6,N6,'r-');
center7=[0,10];
radius7=5;
N7=100; % number of points (circle resolution)
hold on
H=circle(center7,radius7,N7,'r-');
[X0,Y0] = intersections(0,0,0,10,true)
H1=circle(center,radius,N);
X1=get(H1,'XData');
Y1=get(H1,'YData');
clear % all variables
figure(1), hold off
set(gca,'FontSize',14) % adjust fontsize
text(0,10,'\leftarrow RX2 (x3,y3)=(0,10)','VerticalAlignment','middle','HorizontalAlignment','left')
text(0,0,'\leftarrow RX1 (x3,y3)=(0,0)','VerticalAlignment','middle','HorizontalAlignment','left')
center4=[0,0];
radius4=11;
N4=100; % number of points (circle resolution)
hold on
H1=circle(center4,radius4,N4,'r-');
center5=[0,10];
radius5=1;
N5=100; % number of points (circle resolution)
hold on
H2=circle(center5,radius5,N5,'r-');
center6=[0,0];
radius6=15;
N6=100; % number of points (circle resolution)
hold on
H3=circle(center6,radius6,N6,'r-');
center7=[0,10];
radius7=5;
N7=100; % number of points (circle resolution)
hold on
H4=circle(center7,radius7,N7,'r-');
X1=get(H1,'XData');
Y1=get(H1,'YData');
X2=get(H2,'XData');
Y2=get(H2,'YData');
X3=get(H3,'XData');
Y3=get(H3,'YData');
X4=get(H4,'XData');
Y4=get(H4,'YData');
[X01,Y01] = intersections(X1,Y1,X2,Y2,1);
[X02,Y02] = intersections(X3,Y3,X4,Y4,1);
text(X01,Y01,'\leftarrow intersection', 'VerticalAlignment','middle','HorizontalAlignment','left')
text(X02,Y02,'\leftarrow intersection', 'VerticalAlignment','middle','HorizontalAlignment','left')
If you are experiencing a similar issue, please ask a related question
Title | # Comments | Views | Activity |
---|---|---|---|
matchUp challenge | 6 | 60 | |
fizzArray3 challenge | 1 | 86 | |
Modbus - whats the maximum I can store in one register? | 4 | 79 | |
mapAB Challlenge | 35 | 142 |
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
11 Experts available now in Live!