Complex question: How to find a formula's unique values when plotted with other formulae?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
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
Answers (3)
David Sanchez
on 7 Mar 2014
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')
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!