can i create a real variable i.e variable which does not have any value but i will specify the datatype of variable and i want to use it for ploting
이전 댓글 표시
can i create a real variable i.e variable which does not have any value but i will specify the datatype of variable and i want to use it for ploting
답변 (2개)
X = sym('X')
Walter Roberson
2014년 2월 6일
syms x
f = sin(x);
xvals = 0 : .01 : 2*pi;
plot(xvals, double(subs(f, x, xvals)));
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!