error when using '>' , Operator '>' is not supported for operands of type 'table'.

3 views (last 30 days)
Hello,
Im using a loop to go over a set of participants. the final product is an txt. file table
in this loop i make use of a function, this is a script that apllies a t-test and fdr on the data, not relevant for my question.
However, in this script that i call upon in the loop i make use of : if significant(i,j) > 2
This gives me the folowing error in my loop script:
Operator '>' is not supported for operands of type 'table'.
How can i rewrite "if significant(i,j) > 2"
so that i wont get this error? i allready tried ==
thank you in advance

Answers (1)

Stephen23
Stephen23 on 21 Apr 2023

Community Treasure Hunt

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

Start Hunting!