WICHTIG: Der Betrieb von goMatlab.de wird privat finanziert fortgesetzt. - Mehr Infos...

Mein MATLAB Forum - goMatlab.de

Mein MATLAB Forum

 
Gast > Registrieren       Autologin?   

Partner:




Forum
      Option
[Erweitert]
  • Diese Seite per Mail weiterempfehlen
     


Gehe zu:  
Neues Thema eröffnen Neue Antwort erstellen

Wie funktioniert delaunayn?

 

Gast_Christian

Gast


Beiträge: ---
Anmeldedatum: ---
Wohnort: ---
Version: ---
     Beitrag Verfasst am: 09.09.2008, 11:19     Titel: Wie funktioniert delaunayn?
  Antworten mit Zitat      
Hallo,

ich habe eine Frage zu delaunayn(X).

This example generates an n-dimensional Delaunay tessellation, where n = 3.
d = [-1 1];
[x,y,z] = meshgrid(d,d,d); % A cube
x = [x(:);0];
y = [y(:);0];
z = [z(:);0];
% [x,y,z] are corners of a cube plus the center.
X = [x(:) y(:) z(:)];
Tes = delaunayn(X)

Tes =
9 1 5 6
3 9 1 5
2 9 1 6
2 3 9 4
2 3 9 1
7 9 5 6
7 3 9 5
8 7 9 6
8 2 9 6
8 2 9 4
8 3 9 4
8 7 3 9


Wie erklärt sich die "Tes" Matrix?
Die Daten sollen Eckpunkte der zugehörigen Simplices darstellen. Wie soll ich das verstehen?

Danke!

Gruß Christian


Dachs
Forum-Newbie

Forum-Newbie


Beiträge: 8
Anmeldedatum: 11.01.11
Wohnort: Hannover
Version: ---
     Beitrag Verfasst am: 18.01.2011, 18:40     Titel:
  Antworten mit Zitat      
Ich weiß nicht ob du mittlerweile eine Antwort gefunden hast, aber ich habe ein ähnliches Problem.
Bei mir bricht der Vorgang in Zeile 114 ab
Code:
t = qhullmx(x', 'd ', opt);

und ich weiß nicht woran das liegen kann.

Die Hilfe ist leider keine große Hilfe. Wenn du noch was herausgefunden hast, lass es mich bitte wissen.

Code:

>> help delaunayn
 DELAUNAYN  N-D Delaunay tessellation.
    T = DELAUNAYN(X) returns a set of simplices such that no data points of
    X are contained in any circumspheres of the simplices. The set of
    simplices forms the Delaunay tessellation. X is an m-by-n array
    representing m points in n-D space. T is a numt-by-(n+1) array where
    each row is the indices into X of the vertices of the corresponding
    simplex.
 
    DELAUNAYN uses Qhull.
 
    T = DELAUNAYN(X,OPTIONS) specifies a cell array of strings OPTIONS to
    be used as options in Qhull. The default options are:
                                  {'Qt','Qbb','Qc'} for 2D and 3D input,
                                  {'Qt','Qbb','Qc','Qx'} for 4D and higher.  
    If OPTIONS is [], the default options will be used.
    If OPTIONS is {''}, no options will be used, not even the default.
    For more information on Qhull options, see http://www.qhull.org.
 
    Example:
       X = [-0.5 -0.5  -0.5;
            -0.5 -0.5   0.5;
            -0.5  0.5  -0.5;
            -0.5  0.5   0.5;
             0.5 -0.5  -0.5;
             0.5 -0.5   0.5;
             0.5  0.5  -0.5;
             0.5  0.5   0.5];
       T = delaunayn(X);
    errors, but hints that adding 'Qz' to the default options might help.
       T = delaunayn(X,{'Qt','Qbb','Qc','Qz'});
    To visualize this answer you can use the TETRAMESH function:
       tetramesh(T,X)
 
    See also qhull, voronoin, convhulln, delaunay, delaunay3, tetramesh.

    Reference page in Help browser
       doc delaunayn
 
Private Nachricht senden Benutzer-Profile anzeigen
 
Neues Thema eröffnen Neue Antwort erstellen



Einstellungen und Berechtigungen
Beiträge der letzten Zeit anzeigen:

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
.





 Impressum  | Nutzungsbedingungen  | Datenschutz | FAQ | goMatlab RSS Button RSS

Hosted by:


Copyright © 2007 - 2024 goMatlab.de | Dies ist keine offizielle Website der Firma The Mathworks

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.