trying to upend two variables which are varying to form a single row matrix which should be varying and its magnitude at every point need to find the min magnitude
2 次查看(过去 30 天)
显示 更早的评论
for example
t=0:0.1:1
d1=20+(12.*t)
d2=1+(3.*t)
d=[d1,d2]
i want d matrix to be like
t=0.1
d=[32,4]
t=0.2
d=[44,7] and so on.....
but im getting
d=[32,44,..........,4,7,.....]
i need find the mag of d matrix which is for my problem is vector whose magnitude is to be found at every instant and i have to find minimum magnitude but what im getting is magnitude of entire matrix or some other value pls i need the advice to overcome this
thank you
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multidimensional Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!