Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 1x600 的向量,我已经对它进行了 log2 转换,现在我希望居中。有人知道 Matlab 中的代码吗?
只需从数据值中减去中值即可。这是一个示例,如果您想对日志转换数据执行中位数中心化。
medianValue = median(logData); medianCtrData = logData-medianValue;