Using and understanding contourc

12 visualizaciones (últimos 30 días)
ansofi
ansofi el 20 de En. de 2017
Respondida: Maitreyee Mordekar el 27 de En. de 2017
I would like to compute the contour matrix without plotting. To do this I want to use the contourc command. Unfortunately I don't understand the input of this function.
I have three variables for my data: x,y,z. Each of them is a 20 x 20 matrix and corresponds to the value of my data over a 20 x 20 grid. Using contour I get the wanted result: contour(x,z,y). How do I use contourc in my case? I have read the manual (https://se.mathworks.com/help/matlab/ref/contourc.html?searchHighlight=contourc&s_tid=doc_srchtitle) , but I'm not sure how to construct the input Z.

Respuestas (1)

Maitreyee Mordekar
Maitreyee Mordekar el 27 de En. de 2017
Hi,
The following links maybe of help to you-
  1. contour and contourc
  2. contourc- plotting contour matrix
Just adding again that the 'x' and 'y' input to contourc are a single dimensional vectors that specifies the range over which the two dimensions would span.

Categorías

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