Info
此问题已关闭。 请重新打开它进行编辑或回答。
I'm writing a function where I've called the script AngleA and the function written below works fine to find AngleA but when I write a similar code for AngleB it says that AngleB isn't defined how do I define the variable or fix the error?
2 次查看(过去 30 天)
显示 更早的评论
function [A] = AngleA(a,b,c) AngleA = acosd((b^2 + c^2 - a^2)/(2*b*c)) function [B] = AngleB(a,b,c) AngleB = acosd((a^2 + c^2 - b^2)/(2*a*c))
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!