First commit
This commit is contained in:
8
num2str_new.m
Normal file
8
num2str_new.m
Normal file
@@ -0,0 +1,8 @@
|
||||
function text=num2str_new(x,N)
|
||||
text=num2str(x);
|
||||
if length(text)<N
|
||||
for i=1:N-length(text)
|
||||
text=['0' text];
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user