I have mat file need to substract 24rows x 1column . Please provide solutions .
1 次查看(过去 30 天)
显示 更早的评论
Load. N1 N2. S1. S2. 0. 2.55 8.999. -5.6363 2.9636 11.23 3.400 4.330. -7.3333. -8.999. Need to substract in N1 =3.400-2.55. Like for n rows
3 个评论
Dyuman Joshi
2022-7-12
Your statement is still quite unclear.
From what I have understood,
y=randi(20,4,5)
for i=2:size(y,1)
z=y(i,:)-y(1,:)
end
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Distribution Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!