Community Profile

photo

honi heni


Active since 2015

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


How can I solve this error ... Error using * Inner matrix dimensions must agree. Error in Naivayes (line 74) ProbN = prob_table(A11,A1 - 1,1) *prob_table(A21,A2 - 1,1) *prob_table(A31, A3 - 1,1) *prob_table(A41,A4 - 1,1) *fy(1);
I got Error Error using * Inner matrix dimensions must agree. fid = fopen('C:\Users\Oni\Documents\MATLAB\data.csv')'; ou...

7 years ago | 1 answer | 0

1

answer

Question


I get this error Error using == Matrix dimensions must agree. Error in Naivayes (line 21) if (yy{j}==yu{i})
Am trying to debug and run this code in matlab , Am totally new to Matlab fid = fopen('C:\Users\Oni\Documents\MATLAB\data.c...

7 years ago | 1 answer | 0

1

answer

0

answers