I am getting following error in code: Undefined function 'ctwoD' for input arguments of type 'double'.
Mostrar comentarios más antiguos
clc
%coordinates of perspective camera projections
xc = ctwoD(5,10);
yc = ctwoD(10,5);
%coordinates of weak camera perspective
xw = ctwoD(5,10);
yw = ctwoD(10,5);
%plot the transformed points from 2D to 3D
plot (xc,yc, '-5',xw, yw,'-*b',markersize,10);
hleg1 = legend ('x,y 5,10');
xlabel ('5');
ylabel('10');
title ('x,y 5,10');
I am getting following error:
Undefined function 'ctwoD' for input arguments of type 'double'.
Error in CameraModel (line 3)
xc = ctwoD(5,10);
Please help with how to write correct code.
2 comentarios
Cris LaPierre
el 1 de Ag. de 2021
What is ctwoD? It appears to not exist.
Ivy
el 1 de Ag. de 2021
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre MATLAB Support Package for USB Webcams en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!