Assign numeric value to symbolic function a(k) for k=0
2 次查看(过去 30 天)
显示 更早的评论
I have a symbolic matrix:
bb(k)=[1,0;0,aa(k)];
I need to assign aa(0)=2 such that when I type bb(0) I get:
bb(0)=[1,0;0,2];
Also, aa(1)=3 such that:
bb(1)=[1,0;0,3];
How can this be achieved? Thanks!
0 个评论
回答(1 个)
另请参阅
类别
在 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!