Clear Filters
Clear Filters

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

1 view (last 30 days)
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

Answers (0)

Categories

Find more on Multidimensional Arrays in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!