Replacing Values with Blanks in Matlab
<p>I've found some solutions with cells but none with Numberarrays.</p>

<p>The Problem is simple, I have one <code>Array a=(0,1,2,3,4,5,6,7)</code> and I want to change every other value with "blankspace" like this <code>a=(0,'',2,''...)</code> so that the array stays the same length but has only every other value. </p>

<p>When I try something like this <code>a(2:2:end)='';</code> <br/>
I get <code>a=(0,2,4,6)</code> the length is not the same.<br> </p>

<p>When I try <code>a(2:2:end)=blanks(1);</code><br/> 
It almost works :), but not exactly, I get <code>a=(0,'32',2,'32',4,'32'...)</code> </p>

<p>I know that actually 32 means 'space' (ASCII) what actually means it works properly. I then try to use this to set my TickLabels but it interprets it like 32 not like ASCII.</p>