Matlab: Display Vectors side by side in a structure
<p>How can I display (in the variable viewer) 2 vectors in a STRUCTURE side-by-side like in a matrix?
It only shows up for me like this:</p>

<p><a href="https://i.stack.imgur.com/6dLaP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6dLaP.png" alt="Example"></a></p>

<p>EDIT:
This is how it should look:</p>

<p>This is what I want to achieve, but I only get this by converting from table to struct:</p>

<pre><code>I.A(1:150,1)=[0];
I.B(1:150,1)=[0];
A=table(I.A,I.B)
B=table2struct(A)
</code></pre>