function [Q] = identity(n)
Q = zeros(n,n);
for c = 1 : n
for r = 1 : n
if c == r
Q(r,c) = 1;
end
end
end
end
Q = zeros(n,n);
for c = 1 : n
for r = 1 : n
if c == r
Q(r,c) = 1;
end
end
end
end
DC Motor intro DC motor is a device which converts electrical energy into kinetic energy. It converts the DC power into movement. The typica...
No comments:
Post a Comment