Filter löschen
Filter löschen

How to increment cluster value at specific position?

2 Ansichten (letzte 30 Tage)
Muhammad Ibrar
Muhammad Ibrar am 11 Mär. 2019
Bearbeitet: Muhammad Ibrar am 14 Mär. 2019
hello dear...!
i have some problem kindly help me...
how i'll do this if i have 6x3matrix values and one label 6x1matrix, so If any value at specific Row and Col is 1 in a specific cluster so inrement cluster value at that position...thanks in advance
M2 = xlsread('Mat.xlsx');
disp(M2);
act_label= xlsread('Cluster.xlsx');
disp(act_label);
....?
M2_Neg = ~(M2);
disp(M2_Neg);
  2 Kommentare
Image Analyst
Image Analyst am 14 Mär. 2019
You forgot to attach 'Mat.xlsx' and 'Cluster.xlsx', and what you expect as the output. We'll check back later after you do this.
Muhammad Ibrar
Muhammad Ibrar am 14 Mär. 2019
Bearbeitet: Muhammad Ibrar am 14 Mär. 2019
im trying to run 'information gain technique' for Feature selection ,,,so
i have in 'Mat.xlsx' 6row and 3 column
and
in 'Cluster.xlsx' 6row and 1 column
so here the next step is that ( if any value at specific Row and Column is =1 in a specific Cluster, so increment Cluster value at that position )...i need just a hint of code for this next step .... thnx

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu MATLAB Parallel Server finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by