Yes; pretty easy to just check and see...
>> A(3,3)=1;
>> S=sparse(A)
S =
(3,3) 1
>> S(1,:)
ans =
All zero sparse: 1×3
>> S(3,:)
ans =
(1,3) 1
>>
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!