Hi! I`ve got a problem with using plot function cause there is some 'null's (char type) in my data files . So i would like to change/replace that nulls in 0 (num) . Could someone help to find useful function or to offer other solution.
The image shows a struct whichchar arrays as fields. You can usestrrep() to replace the elements of achar array. Although it will still not work with theplot() function because the elements arechar arrays, not numeric values. You might need to usestr2num() to convertchar values t numeric before usingplot().