필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Complex question: How to find a formula's unique values when plotted with other formulae?

조회 수: 2 (최근 30일)
A
A 2014년 3월 7일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi everyone,
I'm neither a matlab expert nor a mathematician. I have more than 2 complex surface plots based on equations that resemble z = x + 2y.
Imagine I have three equations like so:
z = x + 2y; z = 2x + 2y; z = 3x + 2y;
Is there a way to find out [x,y,z] values or range of values where each formula deviates from others? I am trying to find out values or range of values which are unique to each formula and not 'had' by other formulas?
Does this make sense? I can clarify further if needed.
All I am trying to do is figure out x and y Values that are unique to each formula.
Thank you

답변 (3개)

David Sanchez
David Sanchez 2014년 3월 7일
You can see it graphically with this code:
x=-10:.1:10;
y=-10:.1:10;
[xx yy] = meshgrid(x,y);
z1 = xx + 2.*yy;
z2 = 2.*xx + 2.*yy;
z3 = 3.*xx + 2.*yy;
surf(xx,yy,z1)
hold on
surf(xx,yy,z2)
surf(xx,yy,z3)
hold off
xlabel('xx')
ylabel('yy')
zlabel('Zs')

A
A 2014년 3월 7일
Thank you for that. Can I see it non-graphically?

A
A 2014년 3월 7일
Also, that is not quite what I wanted. That seems to be simply graphing the surface plots. What I want to see is the 'delta'. For example, I want the graph to show me only unique values for each formula.
When you have three equations, there are certain values which are 'shared' between all three equations. There are certain values which are not 'shared' or are unique values for each of the three equation. I want to see those unique values for each formula in surface form and in a form which simply lists all those unique values?
Thank you and I am sorry for having such a difficult request. I hope there is an answer for this.

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by