Undefined function 'sind' for input arguments of type 'char'.
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
David Goodmanson
le 1 Nov 2016
Christian, on the third line before the end you need p1 = input('coordinates')
0 commentaires
Voir également
Catégories
En savoir plus sur Dates and Time dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!