How to transform the below quadrant plot in to a semicircle plot?

 Respuesta aceptada

fill([-1 1 1 -1 ],[0 0 1 1 ],'b')
hold on
w=0:0.1:pi
x=cos(w)
y=sin(w)
plot(x,y,'w','linewidth',6)
h=area(x,y,'facecolor',[1 0 0])

3 comentarios

thanks for the reply.
arun kumar
arun kumar el 31 de Jul. de 2015
Editada: arun kumar el 31 de Jul. de 2015
Acoording to the code given by you, the mirror image is obtained. I want the two quadrant images to be merged to a single image to get a semicircular portion.
Kindly reply at the earliest

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Etiquetas

Aún no se han introducido etiquetas.

Preguntada:

el 31 de Jul. de 2015

Editada:

el 31 de Jul. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by