Borrar filtros
Borrar filtros

how to plot a defined space?

2 visualizaciones (últimos 30 días)
Tyler
Tyler el 1 de Feb. de 2014
Respondida: Image Analyst el 2 de Feb. de 2014
F11*x^2 + F22*y^2 + F1*x + F2*y + 2*F12*x*y >= 1
I need to graphically represent the above equation over a given domain, all of the F terms are constants (this is the Tsai-Wu criteria for composite laminates)
what function would i use to plot this?

Respuestas (1)

Image Analyst
Image Analyst el 2 de Feb. de 2014
Do you have to compute it for every value of x and y in a rectangular area? If so, you can use a for loop or meshgrid(), then compute the value "z" or "imageArray" for every value of x and y, then use image() or imshow() to display it. Or you could use surf() to display it as a 2.5D perspective rendering.

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by