Borrar filtros
Borrar filtros

How to turn all fives to ones in one column? (Questionnaires)

5 visualizaciones (últimos 30 días)
Hi all,
Sometimes, there are reverse research questions in research studies. How can I turn all 5 to 1, 4 to 2, 3 remain the same, 2 to 4, and 1 to 5 in just column 3 of a 90 in 11 matrix? Is there any automatic command for it because it's widely used just like t-test.
Thanks

Respuesta aceptada

Chunru
Chunru el 23 de Mayo de 2021
How about this?
A(:, 3) = 6 - A(:, 3);

Más respuestas (0)

Categorías

Más información sobre Behavior and Psychophysics en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by