2 ms·
You couldn’t do something like (a.b).c? Still hackt, but a one liner at least Disclaimer: have never touched matlab
by TylerE 4y ago
You couldn’t do something like (a.b).c?
Still hackt, but a one liner at least
Disclaimer: have never touched matlab
- 323 4y agoSo I googled that: setdiff(1:3, randi(3))(randi(2)) > One must factor out the resulting list from setdiff into a separate variable first: t = setdiff(1:3, randi(3)); t(randi(2)) > This is so medieval even by 1980s standards... https://www.mathworks.com/matlabcentral/answers/1684819-why-does-not-matlab-language-support-function-operator-chaining https://www.mathworks.com/matlabcentral/answers/1684819-why-...