int and subs function

조회 수: 4 (최근 30일)
areej abdulshaheed
areej abdulshaheed 2020년 2월 16일
댓글: areej abdulshaheed 2020년 2월 17일
hi everyone
I would like to do integration to the acceleration
syms t
c=0.0625;
a=c*t
v=int(a)
t=0:1:10;
v=subs(v)
the problem when I use subs function this error accor
Attempt to execute SCRIPT error as a function:
C:\Users\Areej Alfetlawi\Desktop\all matlab programs\matlab11-6-2019\matlab\error.
Error in sym/subs>mupadsubs (line 151)
error(inputchk(X,Y));
Error in sym/subs (line 142)
G = mupadsubs(F,X,Y);
Error in int (line 8)
v=subs(v)

채택된 답변

madhan ravi
madhan ravi 2020년 2월 16일
편집: madhan ravi 2020년 2월 16일
Run:
which subs -all
which error -all
In command window and paste the output here. It looks like you have a script named error.m that you may have created.
  댓글 수: 8
Walter Roberson
Walter Roberson 2020년 2월 17일
Then the second one.
areej abdulshaheed
areej abdulshaheed 2020년 2월 17일
THANK YOU

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

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by