A Quadrature Signals Tutorial: Complex, But Not Complicated

Understanding the 'Phasing Method' of Single Sideband Demodulation

Complex Digital Signal Processing in Telecommunications

Introduction to Sound Processing

Introduction of C Programming for DSP Applications

**Technical discussion about Matlab and issues related to Digital Signal Processing.**

**Is this thread worth a thumbs up?**

Hi

Could somebody please help.

Inside a loop I generate a (1X5)vector. At each step I want to

include this vector as a new row of a matrix. So, for example, after

10 times through the loop I will have generated a (10X5) matrix.

Is there a quick way of doing this?

Any help would be much appreciated.

Thanks

Cal

hi cal,

if 'b' is the 1X5 vector generated inside the for loop, and 'a' is the

10X5 matrix that you need,

for i=1:10

%some processing to obtain b

a(i,:)=b;

%or a=[a;b];

end

regards,

Ravi > Hi

>

> Could somebody please help.

>

> Inside a loop I generate a (1X5)vector. At each step I want to

> include this vector as a new row of a matrix. So, for example, after

> 10 times through the loop I will have generated a (10X5) matrix.

>

> Is there a quick way of doing this?

>

> Any help would be much appreciated.

>

> Thanks

>

> Cal --

V Ravi Chander,

Emerging Technologies and Services Group,

Reliance Infocomm Ltd.