i HAVE 8*15 matrix and I want 8*8 matrix in final. I want to remove the parity bits.What is the command to do that?

 Réponse acceptée

Massimo Zanetti
Massimo Zanetti le 6 Oct 2016

3 votes

A=rand(8,15);
A(:,2:2:end)=[];

2 commentaires

kritika adhikari
kritika adhikari le 6 Oct 2016
I already have my 8*15 matrix with binary values.I dont need random integer. What can I do in that case.Thank you
kritika adhikari
kritika adhikari le 6 Oct 2016
I got it. Thank you so much. it works.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by