weight vector iitiali zation

how to generate weight vector in random numbers for rectangular matrix

1 Comment

It's not clear to me what you want to do. Can you be more specific?

Sign in to comment.

Answers (1)

Mischa Kim
Mischa Kim on 1 Feb 2014
Anusha, you are probably looking at the pdist command. See example at the bottom of the documentation page.

3 Comments

i have
input vector
a=
8 5
3 7
and weight vector
b=
17 21
2 8
now z=pdist(a,b)
error only came
I found the answer..
Excellent. Did you get it resolved via pdist?

Sign in to comment.

Categories

Asked:

on 1 Feb 2014

Commented:

on 1 Feb 2014

Community Treasure Hunt

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

Start Hunting!