MATLAB Answers

Willam Willam

Delete first 8 bits of data

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.



No tags are associated with this question.


1 Answer

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

  1 Comment

Oops. ok. Thanks ya...

Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!