필터 지우기
필터 지우기

PLOT A SURFACE IN WHICH Z IS INDEPENDENT FROM X AND Y

조회 수: 1 (최근 30일)
Inês Mendes
Inês Mendes 2015년 9월 4일
편집: John D'Errico 2015년 9월 4일
Hi guys!
I am trying to plot a surf in which x, y and z are independent from each other but it´s not working.
I initially created a meshgrid for x and y and then when i plot the z, it comes back as an error because of the dimension of the vector z..
then i tried to meshgrid all of the variables and it came back wrong again..
Can anyone help or give me an example of a plot in which z is independent from x and y?
Thanks in advance!
Inês
  댓글 수: 2
John D'Errico
John D'Errico 2015년 9월 4일
편집: John D'Errico 2015년 9월 4일
What do you mean by independent? Sorry, but this is not a term that has any standard meaning as you have used it so far. If you make up terminology, then expect to get few answers. So since statistical independence is not relevant in the context of plotting variables, you need to give a clear explanation.
I will hazard a guess, that MOST of the time when people say they have these problems, they actually have a set of scattered (x,y,z) triads, which they wish to connect into a surface of some ilk.
Mike Garrity
Mike Garrity 2015년 9월 4일
There's a thread going over here about figuring out what type of surface you have and how to plot it. Perhaps that could get you rolling.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by