Generating a plane of best fit

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I am working on some matlab code trying to generate a plane of best fit. However, I don't have a set of points, the only given information is two angles (the pitch and yaw). Is there a way to go about this?
Thanks much,
Andy







share|cite|improve this question



















  • Welcome to MSE. Please read this text about how to ask a good question.
    – José Carlos Santos
    Jul 28 at 15:32










  • You can make a normal vector in your coordinate system pointing in same direction as planes equation if pitch and yaw = 0 and then you rotate it according to the definition of pitch and yaw. You can probably do the rotation by multiplying the vector with rotation matrices.
    – mathreadler
    Jul 28 at 18:05















up vote
0
down vote

favorite












I am working on some matlab code trying to generate a plane of best fit. However, I don't have a set of points, the only given information is two angles (the pitch and yaw). Is there a way to go about this?
Thanks much,
Andy







share|cite|improve this question



















  • Welcome to MSE. Please read this text about how to ask a good question.
    – José Carlos Santos
    Jul 28 at 15:32










  • You can make a normal vector in your coordinate system pointing in same direction as planes equation if pitch and yaw = 0 and then you rotate it according to the definition of pitch and yaw. You can probably do the rotation by multiplying the vector with rotation matrices.
    – mathreadler
    Jul 28 at 18:05













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am working on some matlab code trying to generate a plane of best fit. However, I don't have a set of points, the only given information is two angles (the pitch and yaw). Is there a way to go about this?
Thanks much,
Andy







share|cite|improve this question











I am working on some matlab code trying to generate a plane of best fit. However, I don't have a set of points, the only given information is two angles (the pitch and yaw). Is there a way to go about this?
Thanks much,
Andy









share|cite|improve this question










share|cite|improve this question




share|cite|improve this question









asked Jul 28 at 15:29









Andy

1




1











  • Welcome to MSE. Please read this text about how to ask a good question.
    – José Carlos Santos
    Jul 28 at 15:32










  • You can make a normal vector in your coordinate system pointing in same direction as planes equation if pitch and yaw = 0 and then you rotate it according to the definition of pitch and yaw. You can probably do the rotation by multiplying the vector with rotation matrices.
    – mathreadler
    Jul 28 at 18:05

















  • Welcome to MSE. Please read this text about how to ask a good question.
    – José Carlos Santos
    Jul 28 at 15:32










  • You can make a normal vector in your coordinate system pointing in same direction as planes equation if pitch and yaw = 0 and then you rotate it according to the definition of pitch and yaw. You can probably do the rotation by multiplying the vector with rotation matrices.
    – mathreadler
    Jul 28 at 18:05
















Welcome to MSE. Please read this text about how to ask a good question.
– José Carlos Santos
Jul 28 at 15:32




Welcome to MSE. Please read this text about how to ask a good question.
– José Carlos Santos
Jul 28 at 15:32












You can make a normal vector in your coordinate system pointing in same direction as planes equation if pitch and yaw = 0 and then you rotate it according to the definition of pitch and yaw. You can probably do the rotation by multiplying the vector with rotation matrices.
– mathreadler
Jul 28 at 18:05





You can make a normal vector in your coordinate system pointing in same direction as planes equation if pitch and yaw = 0 and then you rotate it according to the definition of pitch and yaw. You can probably do the rotation by multiplying the vector with rotation matrices.
– mathreadler
Jul 28 at 18:05
















active

oldest

votes











Your Answer




StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2865335%2fgenerating-a-plane-of-best-fit%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2865335%2fgenerating-a-plane-of-best-fit%23new-answer', 'question_page');

);

Post as a guest













































































Comments

Popular posts from this blog

What is the equation of a 3D cone with generalised tilt?

Color the edges and diagonals of a regular polygon

Relationship between determinant of matrix and determinant of adjoint?