Verfasst am: 13.01.2011, 15:15
Titel: Plot Problem x,y,z
Hallo, ich habe eine kleine Frage zum 3d Plot, ich habe 3 Vektoren x, y, tot.... die aus einer excel datei stamen. bis jetzt hat alles toll funktioniert. jetzt habe ich neue werte x, y, tot.
Ohne den Code angeschaut zu haben: Wo hast du denn die Werte her? Mir kommen die unterschiedlichen Trennzeichen, also , (Komma) und . (Punkt) seltsam vor. Kann es sein, dass es daran liegt?
weil deine Zahlenformatierung in Excel durcheinander ist.
Wahrscheinlich wurden unterschiedliche Excel-Versionen bei der Erstellung benutzt.
Der Verursacher ist der Punkt, bei dir wird als Trenner für Kommazahlen (in Deutscher Version soll es Komma-Zeichen sein) und auch als 1000-Stellen- Trenner.
The input to qhull appears to be less than 3 dimensional, or a
computation has overflowed.
Qhull could not construct a clearly convex simplex from points:
The center point is coplanar with a facet, or a vertex is coplanar
with a neighboring facet. The maximum round off error for
computing distances is 1.2e-014. The center point, facets and distances
to the center point are as follows:
ich weiß nicht was das problem ist ich hab 3 vektoren und es sollte eigentlich funktionieren....
The input to qhull appears to be less than 3 dimensional, or a
computation has overflowed.
Qhull could not construct a clearly convex simplex from points:
The center point is coplanar with a facet, or a vertex is coplanar
with a neighboring facet. The maximum round off errorfor
computing distances is6.9e-015. The center point, facets and distances
to the center point are as follows:
facet
p1
p8
p0
distance= 0
facet
p2
p8
p0
distance= 0
facet
p2
p1
p0
distance= 0
facet
p2
p1
p8
distance= 0
These points either have a maximum or minimum x-coordinate, or
they maximize the determinant for k coordinates. Trial points
are first selected from points that maximize a coordinate.
Themin and max coordinates for each dimension are:
0: 0.15 difference= 4.9
1: 2.52.5 difference= 0
2: 04.9 difference= 4.9
If the input should be full dimensional, you have several options that
may determine an initial simplex:
- use 'QJ' to joggle the input and make it full dimensional
- use 'QbB' to scale the points to the unit cube
- use 'QR0' to randomly rotate the inputfor different maximum points
- use 'Qs' to search all points for the initial simplex
- use 'En' to specify a maximum roundoff error less than 6.9e-015.
- trace execution with 'T3' to see the determinant for each point.
If the inputislower dimensional:
- use 'QJ' to joggle the input and make it full dimensional
- use 'Qbk:0Bk:0' to delete coordinate k from the input. You should
pick the coordinate with the least range. The hull will have the
correct topology.
- determine the flat containing the points, rotate the points
into a coordinate plane, and delete the other coordinates.
- add one or more points to make the inputfull dimensional.
Thisis a Delaunay triangulation and the inputis co-circular or co-spherical:
- use 'Qz' to add a point "at infinity" (i.e., above the paraboloid)
- or use 'QJ' to joggle the input and avoid co-circular data
Error in ==> delaunayn at 117
t = qhullmx(x', 'd ', opt);
Error in ==> griddata>linear at 151
tri = delaunayn([x y]);
Error in ==> griddata at 120
zi = linear(x,y,z,xi,yi,opt);
ok, ich tue das program und die datei bei damit man den fehler reproduzieren kann, wenn man das probieren möchte.
Die Frage ob y linear sein darf kann ich leider nicht beantworten.... die Werte stimmen, aber ich denke das der Fehler deswegen auftritt.... wenn es daran liegt, gibt es dann eine andere möglichkeit es zu ploten?
also mit
plot3(x,y,tot) bekommt man was aber das ist nicht was ich will.....
Du kannst Beiträge in dieses Forum schreiben. Du kannst auf Beiträge in diesem Forum antworten. Du kannst deine Beiträge in diesem Forum nicht bearbeiten. Du kannst deine Beiträge in diesem Forum nicht löschen. Du kannst an Umfragen in diesem Forum nicht mitmachen. Du kannst Dateien in diesem Forum posten Du kannst Dateien in diesem Forum herunterladen
MATLAB, Simulink, Stateflow, Handle Graphics, Real-Time Workshop, SimBiology, SimHydraulics, SimEvents, and xPC TargetBox are registered trademarks and The MathWorks, the L-shaped membrane logo, and Embedded MATLAB are trademarks of The MathWorks, Inc.