how to modify a variable data by scale function like data= scale(data); I have to modify scale function for variable data

2 次查看(过去 30 天)
how to modify a variable data by scale function like data= scale(data); I have to modify scale function for variable data
Actually i am writing a matlab code for training in Matlan onramp and didn't getting how to solve the above

采纳的回答

Walter Roberson
Walter Roberson 2024-1-25
Given only the above information:
function scaled = scale(data)
scaled = data ./ 1000;
end
The 1000 should be adjusted to whatever is appropriate for your situation.
  4 个评论

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by