Filter löschen
Filter löschen

How to show principal component axis next to the original axis in IRIS data?

1 Ansicht (letzte 30 Tage)
Hello I want to show principal component axis next to original axis (before rotation) in iris dataset for first 2 dimension but I don't know how. I attached an example photo. also my question is "What determines the magnitude of the principal component axis?"

Akzeptierte Antwort

Image Analyst
Image Analyst am 21 Dez. 2022
See attached demos
If you have any more questions, then attach your data and code to read it in with the paperclip icon after you read this:
  2 Kommentare
farshad jahangiri
farshad jahangiri am 23 Dez. 2022
Hi again.I changed this code to 2 dimensionam Because in the 3D mode, I suspected that the axes of the PCs are not perpendicular to each other, and when I drew in the 2D mode, I observed that they are not perpendicular to each other. As you know, the axes of the PCs must be perpendicular to each other. can you help me ? @Image Analyst

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by