Undefined function 'sind' for input arguments of type 'char'.
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
David Goodmanson
il 1 Nov 2016
Christian, on the third line before the end you need p1 = input('coordinates')
0 Commenti
Vedere anche
Categorie
Scopri di più su Dates and Time in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!