How can I graph the results of the matrix?

2 visualizaciones (últimos 30 días)
Damián Muciño
Damián Muciño el 24 de Ag. de 2018
Respondida: Steven Lord el 24 de Ag. de 2018
Code:
A = [.58-.06i -.08+.06i +0; -2.08+.06i 0.1775+.8180i -.0975+.1219i; 0 -.097+.12i .097+.37i]
B = [2.828+2.828i;0;0]
solucion = [A\B]

Respuestas (2)

OCDER
OCDER el 24 de Ag. de 2018
plot(real(solucion), imag(solucion), 'x')
xlabel('real')
ylabel('imag')

Steven Lord
Steven Lord el 24 de Ag. de 2018
What type of graph are you trying to create? If you're not sure of the name of the graph you're trying to create but you know what it looks like, click on the Plots tab in the Toolstrip and click on the downward pointing triangle to the right of the Plots section on that tab. Look for the type of graph you want to plot and the name of the function that creates that plot will be underneath the picture.
If you have the Workspace window open and have selected the variable you want to graph, the Plots section by default will show you only those functions to which you can pass that variable. So if you select a vector, it won't show you functions like surf that expect matrices as input. If you click on the picture, MATLAB will create a graph using that function on that variable.
See this documentation page for more information about the Plots tab on the Toolstrip.

Categorías

Más información sobre Line Plots 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