Task:
Verify evec1(2) and evec2(2) are real and print out. There is no output?
if imag(evec1(2))==0
if imag(evec2(2))==0
V1=10;
if evec1(1) ~= 0
V1=evec1(2)/evec1(1);
end;
V2=10;
if evec2(1) ~= 0
V2=evec2(2)/evec2(1);
end;
fprintf( 'V1=%.0f V2=%.0f\n', V1,V2 )
Can you help please? Thank you. MM
Aucun commentaire:
Enregistrer un commentaire