필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
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개)

Anuj
Anuj 2014년 2월 6일
편집: Anuj 2014년 2월 6일
  댓글 수: 2
gavr
gavr 2014년 2월 6일
but what i really want is i need to create a continuous variable suppose x and plot sinx i will define x as just real number can you write code for this please

댓글을 달려면 로그인하십시오.


Walter Roberson
Walter Roberson 2014년 2월 6일
syms x
f = sin(x);
xvals = 0 : .01 : 2*pi;
plot(xvals, double(subs(f, x, xvals)));

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by