Research areas :

1) Interdisciplinary Approaches.

2) Applied Physics.

3) Quantum Physics .

DISCLAIMER: Advices or Opinions posted are from author , and do not reflect that of MathWorks.

Files are listed in :

http://www.mathworks.com/matlabcentral/fileexchange/index?utf8=%E2%9C%93&term=authorid%3A264099

Professional Interests: Applied Physics

Top 1% contributor

**792**Contributions

58 downloads

2 years ago

47 downloads

3 years ago

vectorization is possible : N=10; vec=zeros(N,1); positions=[2:4]; vec(positions)=1;

accepted

1

Answered 2 years ago

Try if length(a{1})~=length(b{1}) error(' Vectors must have same length'); end

accepted

1

Answered 2 years ago