Is it possible to extract elements from matrix in one expression for slicing operators:
([1 2 3; 4 5 6] * [1 2 3]') (1:2)
Without using intermediate variable
tmp=[1 2 3; 4 5 6] * [1 2 3]';
tmp(1:2)
Is it possible to extract elements from matrix in one expression for slicing operators:
([1 2 3; 4 5 6] * [1 2 3]') (1:2)
Without using intermediate variable
tmp=[1 2 3; 4 5 6] * [1 2 3]';
tmp(1:2)