Click here to Skip to main content
15,924,039 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Creating a shortcut (.LNK file) without using IShellLink Pin
Navin2-Mar-03 2:29
Navin2-Mar-03 2:29 
GeneralWorking with cameras Pin
Trollslayer1-Mar-03 9:38
mentorTrollslayer1-Mar-03 9:38 
GeneralRe: Working with cameras Pin
Chris Losinger1-Mar-03 9:58
professionalChris Losinger1-Mar-03 9:58 
GeneralRe: Working with cameras Pin
Trollslayer2-Mar-03 2:56
mentorTrollslayer2-Mar-03 2:56 
GeneralRe: Working with cameras Pin
NormDroid2-Mar-03 6:21
professionalNormDroid2-Mar-03 6:21 
QuestionHelp : How do I kill a Quickwin console program ? Pin
pilki1-Mar-03 9:22
pilki1-Mar-03 9:22 
AnswerRe: Help : How do I kill a Quickwin console program ? Pin
Jörgen Sigvardsson2-Mar-03 13:22
Jörgen Sigvardsson2-Mar-03 13:22 
Generaleigenvalue and eigenvector problem Pin
affzan1-Mar-03 6:45
affzan1-Mar-03 6:45 
Hi guys

Does anyone know how to translate this Matlab code into C++?

function a = fit_ellipse(x,y)<br />
d = [x.*x x.*y y.*y x y ones(size(x))];<br />
s = d'*d;<br />
c(6,6) = 0; c(1,3) = 2; c(2,2) = -1; c(3,1) = 2;<br />
[gevec, geval] = eig(s,c);<br />
[negr, negc] = find(geval < 0 & ~isinf(geval));<br />
a = gevec(:,negc);



i've done up until line 4 but i got stuck on solving the eigenvalue. Can somebody help me please? Thank you so much
GeneralRe: eigenvalue and eigenvector problem Pin
mdgray1-Mar-03 7:52
mdgray1-Mar-03 7:52 
Generalprinting excel file Pin
pnpfriend1-Mar-03 6:35
pnpfriend1-Mar-03 6:35 
GeneralRe: printing excel file Pin
Tony Fontenot1-Mar-03 14:00
Tony Fontenot1-Mar-03 14:00 
GeneralDeskop window subclassing Pin
Lukas Neumann1-Mar-03 5:24
Lukas Neumann1-Mar-03 5:24 
QuestionWhat is a class? Pin
Anonymous1-Mar-03 5:18
Anonymous1-Mar-03 5:18 
AnswerRe: What is a class? Pin
pnpfriend1-Mar-03 6:26
pnpfriend1-Mar-03 6:26 
AnswerRe: What is a class? Pin
Renjith Ramachandran1-Mar-03 6:53
Renjith Ramachandran1-Mar-03 6:53 
GeneralRe: What is a class? Pin
Chris Richardson1-Mar-03 20:21
Chris Richardson1-Mar-03 20:21 
AnswerRe: What is a class? Pin
Trollslayer1-Mar-03 9:23
mentorTrollslayer1-Mar-03 9:23 
AnswerRe: What is a class? Pin
Alexo@home1-Mar-03 11:38
Alexo@home1-Mar-03 11:38 
AnswerRe: What is a class? Pin
Joan M2-Mar-03 21:08
professionalJoan M2-Mar-03 21:08 
GeneralCListCtrl::SortItems problem Pin
Wim Jans1-Mar-03 5:14
Wim Jans1-Mar-03 5:14 
GeneralRe: CListCtrl::SortItems problem Pin
Wim Jans1-Mar-03 5:28
Wim Jans1-Mar-03 5:28 
GeneralRe: CListCtrl::SortItems problem Pin
Michael Dunn1-Mar-03 6:17
sitebuilderMichael Dunn1-Mar-03 6:17 
GeneralC# Control in MFC Pin
Anonymous1-Mar-03 5:00
Anonymous1-Mar-03 5:00 
GeneralStrange Compiling error (not MFC) Pin
orcblood1-Mar-03 4:44
orcblood1-Mar-03 4:44 
GeneralRe: Strange Compiling error (not MFC) Pin
orcblood1-Mar-03 4:49
orcblood1-Mar-03 4:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.