Borrar filtros
Borrar filtros

Machine learning program question

2 visualizaciones (últimos 30 días)
Mohamed Ahmed
Mohamed Ahmed el 2 de Ag. de 2016
Comentada: CHANDRU G el 30 de Mayo de 2020
The program I'm asking my question about is in that link: http://read.pudn.com/downloads197/sourcecode/macos/928928/CancerDiagnosis.m__.htm
Now, what does this command do exactly:
testmat= matrix(idtest,:);
and why it's not giving this error:
Subscript indices must either be real positive integers or logicals.
  1 comentario
CHANDRU G
CHANDRU G el 30 de Mayo de 2020
x=x+3; data.Xval=data.Xval +3; Multiply the values in the X variable of the table letter by the aspect ratio of 1.5.Reassign the result back to X so that letter contains the corrected data

Iniciar sesión para comentar.

Respuestas (1)

Image Analyst
Image Analyst el 3 de Ag. de 2016
  5 comentarios
Walter Roberson
Walter Roberson el 4 de Ag. de 2016
The original idtest is not all zero. You can use
[row, column] = find(idtest)
to see the row and column of the one (and only one) non-zero entry in it.
Mohamed Ahmed
Mohamed Ahmed el 4 de Ag. de 2016
Thanks very much.

Iniciar sesión para comentar.

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by