bit mapping

lets A =[ 1 1 0 after dng some steps i got z=[ 0.2345 1 0 1 1.456 0 0 1 0.0673 . . . ..... . . . ...... . . . ..... 1 1 0] 6.987]
both A and Z have 90 rows in each .now for least value of Z i need to take co-responding value as my out put so can u help me. from above my out is 0 0 1. can any one help me out please

3 件のコメント

mahaveer hanuman
mahaveer hanuman 2011 年 6 月 23 日
iam unable to explain u my problem since its difficult to organize the array here in the message box for your better understanding.
any alternative??
Sean de Wolski
Sean de Wolski 2011 年 6 月 23 日
The answer is in your identical post here:
http://www.mathworks.com/matlabcentral/answers/10135-euclidean-distance-output
Combine that with my hint below.
mahaveer hanuman
mahaveer hanuman 2011 年 6 月 23 日
just to give you an idea, this project belongs to 'Channel Coding' subject. So, I have many code words (=90) for which i have computed euclidean distances.
now i want to get the code word corresponding to the minimum euclidean distance as my output!
hope this helps!!

サインインしてコメントする。

回答 (1 件)

Sean de Wolski
Sean de Wolski 2011 年 6 月 23 日

0 投票

I just answered this in your duplicate post. Change the max function to min everything else is identical.

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

質問済み:

2011 年 6 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by