An easy way to apply a transformation to many data points
2 次查看(过去 30 天)
显示 更早的评论
Hello, I have a list of over 100 data points in the form:
BAM_186_Torque_8Nov_0656 BAM_186_Torque_8Nov_0657 BAM_186_Torque_8Nov_0658
etc...
I am current applying an RMS function to them using the following code:
RMS_BAM_186_Torque_8Nov_0656 = rms(BAM_186_Torque_8Nov_0656); RMS_BAM_186_Torque_8Nov_0657 = rms(BAM_186_Torque_8Nov_0657); RMS_BAM_186_Torque_8Nov_0658 = rms(BAM_186_Torque_8Nov_0658); RMS_BAM_186_Torque_8Nov_0659 = rms(BAM_186_Torque_8Nov_0659); RMS_BAM_186_Torque_8Nov_0700 = rms(BAM_186_Torque_8Nov_0700); RMS_BAM_186_Torque_8Nov_0701 = rms(BAM_186_Torque_8Nov_0701); RMS_BAM_186_Torque_8Nov_0702 = rms(BAM_186_Torque_8Nov_0702); RMS_BAM_186_Torque_8Nov_0703 = rms(BAM_186_Torque_8Nov_0703);
My question is, how could I put these into an iterative loop to clean up my code and make my programming easier?
Thank you!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!