how to modify a variable data by scale function like data= scale(data); I have to modify scale function for variable data
2 ビュー (過去 30 日間)
古いコメントを表示
Muhammad Umar Khan
2024 年 1 月 25 日
コメント済み: Muhammad Umar Khan
2024 年 1 月 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
0 件のコメント
採用された回答
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 件のコメント
Walter Roberson
2024 年 1 月 28 日
Looks like the exercise wanted some different scaling. Perhaps multiplying by 173, or dividing by 32768...
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!