how to use the subs syntax for the two variable
古いコメントを表示
syms x a
series1(x) = a+(2/3)*a*x+(5/3)*a^2*x^2+(1/3)*a^3*x^3
a=0.56
series2(x)=subs(series1,a,0.56)
%%%%%%%%%%%%%%%%%%%%%%%
when is use the subs synatx to replace the value of a in series1 it is not replacing the vlue of a .
So what the problem with the synatx?
Since series1 is the function of x only so it is not replacing the value a ?
If yes how should I substuite the value of a so that series1 contain only variable x .
採用された回答
その他の回答 (1 件)
カテゴリ
ヘルプ センター および File Exchange で Fixed-Point Operator Replacement についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

