diff(x) matrix matlab
X = [1 3 5;7 11 13;17 19 23];
Y = diff(X,1,2)
Y = 3×2
ans:
2 2
4 2
2 4
Are there any code examples left?
New code examples in category Matlab
-
Matlab 2022-03-12 21:25:01 switch matlab
-
Matlab 2022-03-01 00:10:26 scilab trace function
-
Matlab 2022-02-22 09:40:07 matlab tilde
-
Matlab 2022-02-09 19:00:07 matlab preallocate array size
-
Matlab 2022-02-09 18:50:01 plot in log scale matlab
-
Matlab 2022-02-03 11:21:25 zsh corrupt history file
-
Matlab 2022-02-03 00:16:39 octave wait
-
Matlab 2022-02-02 20:17:12 matlab app designer numeric edit field properties
-
Matlab 2022-02-02 18:36:14 matlab zero vector