why do I still get error with syntax
조회 수: 2 (최근 30일)
이전 댓글 표시
Can someone please tell me what I am doing wrong!!
%Purpose:Plot using ezpolar function
%set value for variables
p=1000;
e=0.25;
%create function handle
r=@theta p\(1-(e*cos(theta)))
%use ezpolar to plot function
ezpolar(r)
I keep getting this error
Error: File: plot_using_EZZ_polarr.m Line: 6 Column: 11
Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error.
To construct matrices, use brackets instead of parentheses.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Visual Exploration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!