plot to find root Error: Unbalanced or unexpected parenthesis or bracket
古いコメントを表示
>> v0 = 20; x = 35; y0 = 2; y = 1; g = 9.81;
theta0 = linspace(0,90);
ftheta0 = tan(theta0)*x-(g/(2*v0^2*cos^2(theta0))*x^2)+y0-y;
??? ftheta0=tan(theta0)*x-(g/(2*v0^2*cos^2(theta0))*x^2)+y0-y;
|
Error: Unbalanced or unexpected parenthesis or
bracket.
採用された回答
その他の回答 (1 件)
Joachim Schlosser
2016 年 3 月 4 日
0 投票
MATLAB will point you exactly to where it cannot cope with the input. There is a "*" missing in 2(theta0).
カテゴリ
ヘルプ センター および File Exchange で Graphics Objects についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!