20251117
This commit is contained in:
1 parent
4bd2d87fc4
commit
1b3b07a7f6
35 files changed
+454
No files matched your search
@@ -0,0 +1,8 @@
|
|||||||
|
function y=difun(x)
|
||||||
|
if x<-pi
|
||||||
|
y=-x-pi
|
||||||
|
elseif x>-pi && x<pi
|
||||||
|
y=sin(x)
|
||||||
|
else
|
||||||
|
y=(x-pi)/2
|
||||||
|
end
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
function dmsv=dms2mat(dv)
|
||||||
|
[l,c]=size(dv);
|
||||||
|
for i=1:l
|
||||||
|
dmsv(i,1)=fix(dv);
|
||||||
|
dmsv(i,2)=fix((dv-fix(dv))*60);
|
||||||
|
dmsv(i,3)=(dv-dmsv(i,1)-dmsv(i,2)*60);
|
||||||
|
end
|
||||||
Loaded 3 of 35 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user