How to set different intervals using linspace()?
17 views (last 30 days)
Aquatris on 1 Jul 2019
If you want to remove a certain element;
x = linspace(1,100,1e3); % 1000 elements
i = 100; % index to be removed
x(i) = ; % remove ith element
which will remove the i th element from the array.