How to evaluate a vector into a Matrix?
显示 更早的评论
I have to evaluate al values of L into the matrix Kelemento, but it evaluates in a way I dont wanto to, it evaluates for all values of L in the first row of kelemento instead of evaluating all the matrix for each vale of L
E= 3000
I=1
L=[4;5;1.5;1.5]
kelemento=[12*E*I./L.^3 6*E*I./L.^2 -12*E*I./L.^3 6*E*I./L.^2;
6*E*I./L.^2 4*E*I./L -6*E*I./L.^2 2*E*I./L;
-12*E*I./L.^3 -6*E*I./L.^2 12*E*I./L.^3 -6*E*I./L.^2;
6*E*I./L.^2 2*E*I./L -6*E*I./L.^2 4*E*I./L]
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Green Vehicles 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!