How does this matlab function works?
1 view (last 30 days)
Show older comments
Could someone please explain how this function works in defining the matrices
For example,
B=zeros(size(A,1),1); C=eye(size(A));
0 Comments
Accepted Answer
Azzi Abdelmalek
on 22 Jan 2014
Edited: Azzi Abdelmalek
on 22 Jan 2014
doc size
doc zeros
doc eye
You can also try an example
>> A=[1 2 3;4 5 6]
B=zeros(size(A,1),1)
C=eye(size(A))
A =
1 2 3
4 5 6
B =
0
0
C =
1 0 0
0 1 0
More Answers (0)
See Also
Categories
Find more on Triangulation Representation 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!