I have mat file need to substract 24rows x 1column . Please provide solutions .
1 view (last 30 days)
Show older comments
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 Comments
Dyuman Joshi
on 12 Jul 2022
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
Answers (0)
See Also
Categories
Find more on Data Distribution Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!