Matlab code help (simple)

Status
Not open for further replies.

kingh12

New Member
Hi,

I am working on a project on matlab and after doing some processes I created a new matrix like;

A=[0 0 0; 0 0 0; 1 3 2; 0 0 0; 0 0 0; 4 8 3; ....... ] ( size of A is mxn for example)

As a result there are some datas in every 3th row. Now I want to take them and put to another matrix in order like [1 3 2; 4 8 3] ... I tried to that with some for loops but it didn't result well. Does anyone know how to write that?

Thanks...
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…