[Matlab]Functions
B = squeeze(A):
Remove the dimensions of size 1;
Remove the redundant dimensions.
B = repmat(A,[m n p...]):
B = sub2ind(size,sub1, sub2, ...);
B = ind2sub(size, index);
profile on;
...
profile viewer;
Interesting people find this blog boring; only boring people find this blog interesting ...
B = squeeze(A):
B = repmat(A,[m n p...]):
B = sub2ind(size,sub1, sub2, ...);
B = ind2sub(size, index);
profile on;
...
profile viewer;
No comments:
Post a Comment