How would i generalize the following variables
1 view (last 30 days)
Show older comments
I want to generalize the following variables
dat=norm(A(:,5)-A(:,1));
dbt=norm(A(:,5)-A(:,2));
dct=norm(A(:,5)-A(:,3));
ddt=norm(A(:,5)-A(:,4));
i already tried doing it like this,
dt=norm(A(:,5)-A(:,1:4));
but i want it to calculate for each element, so how would it do it?
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Structures 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!