|
vektor |
Gast
|
 |
Beiträge: ---
|
 |
|
 |
Anmeldedatum: ---
|
 |
|
 |
Wohnort: ---
|
 |
|
 |
Version: ---
|
 |
|
|
 |
|
Verfasst am: 21.03.2010, 19:18
Titel: Integral eines Vektors
|
 |
Hey Leuts!
Ich müsste ein Integral von einem Vektor berechnen.
Das Habe ich mit trapz gemacht. Mein Problem ist, dass der Vektor auch negative Werte hat, die Fkt trapz das aber nicht beachtet. Stimmt es? Falls ja wie kann ich diese denn mit einbeziehen?
Danke euch
|
|
|
|
|
Coja |

Forum-Century
|
 |
Beiträge: 166
|
 |
|
 |
Anmeldedatum: 20.06.09
|
 |
|
 |
Wohnort: ---
|
 |
|
 |
Version: ---
|
 |
|
|
 |
|
Verfasst am: 22.03.2010, 20:14
Titel:
|
 |
Hallo,
also trapz() berücksichtigt acuh negative Werte, dies siehst du daran:
Wenn du das Integral ausrechnen willst, musst du die Nulldurchgnäge beachten, denn sonst werden negative Fläche von den positiven Flächen abgezogen. WIllst du die gesamte Fläche -positiv und negativ- dann kannst du die negativen Werte 'hochklappen', in dem du nur den Betrag nimmst:
|
|
|
|
|
Einstellungen und Berechtigungen
|
|
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
| RSS
Hosted by:
Copyright © 2007 - 2025
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.
|
|