matrix dimension must agree
问题 My dropdown list contains the ff. strings: Low Pass, High Pass, Band Pass, Stop Band. Whenever I choose the Low Pass, the error below shows. The code below works for the rest. My goal is to make the edtCutoff2 and txtRange invisible when I choose Low Pass and High Pass but the code below works only for High Pass. Error: Error using == Matrix dimensions must agree. Error in untitled>popFreqResp_Callback (line 168) if ((str == 'Stop Band') | (str == 'Band Pass') == 1) Error in gui_mainfcn (line