MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Asked by Willam Willam
on 24 Feb 2013

Hi. I want ask a question. If I got a variable that store values from an array. For example, A=[11111111 00000000]. How do I delete the data of 11111111 after the first looping is done? Assume that there have 2 looping. Thanks.

Answer by Azzi Abdelmalek
on 24 Feb 2013

Edited by Azzi Abdelmalek
on 24 Feb 2013

You can't write

A=[11111111 00000000]

because it gives

A=[11111111 0]

If you have

A=['11111111'; '00000000'] A(1,:)=[]% will remove 11111111

## 0 Comments