Equation- Divide by Vector
显示 更早的评论
Hello, I`m a beginner and I would like to calculate the equation [Sd(t)=ag S 2.5 Tc/q T] for values of Tc<=T<=Td However, T is a vector and I don`t know how to divide an vector and make the results in a final vector form. This is my code:
clc;clear all; agd=0.24*9.81; S=1.15;
Tb=0.2; S=1.15; Tc=0.6; Td=2; q=2;
for T3=Tc:0.02:Td; M=agd*S*2.5*Tc/q; Sd3=M/T3 end
In this way I get the results, but not in a vector form.
Thanks in advance
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!