how to write matlab code for the below equations
2 次查看(过去 30 天)
显示 更早的评论
采纳的回答
Birdman
2018-1-31
Following may help you to start what you are doing:
k=5;syms t
y=sym('y',[1 k]);
p=sym('p',[1 k]);
v=sym('v',[1 k]);
s=sym('s',[1 k]);
n=sym('n',[1 k]);
g=sym('g',[1 k]);
y=sqrt(p).*g.*v.*s+symsum(sqrt(p).*g.*v.*s+n,t,1,k)
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!