Answers (1)

dpb
dpb on 8 Feb 2016
See
Or, try
x=rand(4);
a=[1 3];
x(a,:)=0
at the command line and see...

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Asked:

on 8 Feb 2016

Answered:

dpb
on 8 Feb 2016

Community Treasure Hunt

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

Start Hunting!