Undefined function 'sind' for input arguments of type 'char'.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
christian ahmed tahal
el 1 de Nov. de 2016
Respondida: David Goodmanson
el 1 de Nov. de 2016
Guys I'm having a problem i don't know what is the cause. I was asked to determine what kind of triangle if its in 3d. The part in else always gives me error i dont know why can someone help This is my code
p=input('What is the point system of first point ','s')
if strcmpi(p,'RCS')== 1
p1=input('coordinates ');
elseif strcmpi(p,'CCS')== 1
p1=input('coordinates ');
p1=([p1(1)*cosd(p1(2)), p1(1)*sind(p1(2)),p1(3)]);
else
p1=('coordinates ');
p1=([p1(1)*sind(p1(2))*cosd(p1(3)),p1(1)*sind(p1(2))*sind(p1(3)),p1(1)*cosd(p1(2))])
end
0 comentarios
Respuestas (1)
David Goodmanson
el 1 de Nov. de 2016
Christian, on the third line before the end you need p1 = input('coordinates')
0 comentarios
Ver también
Categorías
Más información sobre Dates and Time en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!