I have a matrix P having 100 rows and 2001 columns. can you please help me to make a probability distribution curve of columns and mean line of rows.
2 次查看(过去 30 天)
显示 更早的评论
like the probability distribution curve lies on y axis(VERTICALLY) and mean value line lies on x axis (HORIZONTALLY).
I need code for this as i am very new to MATLAB and learning it.
1 个评论
回答(1 个)
KSSV
2021-12-30
x = rand(100,2001) ; % dummy data fro demo
mx = mean(x) ; % mean of row elements
h = histfit(mx,100,'kernel')
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!