How do i break down 6000 Datapoints into 128 Points
6 ビュー (過去 30 日間)
古いコメントを表示
Hello,
i am fairly new to Matlab. I have x=6000 data points on one hand and y=128 data points on the other. How can i plot these? I thought about calculating the average of every 46 data points of the 6000. But i dont know how to do this. Maybe smooth()? Then how do i tell Matlab to take every 46 so i get a total of x=128 points.
i hope my question is clear.
thanks JT
0 件のコメント
回答 (2 件)
KSSV
2016 年 3 月 31 日
You may take maximum of x and minimum of x. Using linspace create 128 data points. Then do interpolation of this 128 data points of x with 6000 data points and then plot.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!