Borrar filtros
Borrar filtros

how to find XLINE AND YLINE intersection

4 visualizaciones (últimos 30 días)
ravi shukla
ravi shukla el 20 de Ag. de 2020
Comentada: Star Strider el 20 de Ag. de 2020
n=3;
m=4;
for i=1:n
xline(i);
for j=1:m
yline(j);
end
end
  3 comentarios
ravi shukla
ravi shukla el 20 de Ag. de 2020
how to plot it on graph... like how to show these imtersection points on graph
Adam Danz
Adam Danz el 20 de Ag. de 2020
Use the plot command. You may have to include hold on too.

Iniciar sesión para comentar.

Respuesta aceptada

Star Strider
Star Strider el 20 de Ag. de 2020
The intersections (in this example) are at all combinations of (i,j), in that order.
  5 comentarios
ravi shukla
ravi shukla el 20 de Ag. de 2020
can we do it using mapshow? bcaz i did and i got the intersection points as picture
Star Strider
Star Strider el 20 de Ag. de 2020
I have no idea. I do not have the Mapping Toolbox, so I cannot respond to that.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Specifying Target for Graphics Output en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by