Correct Matlab scripts
This commit is contained in:
parent
3f53a5977c
commit
9baa4c04d3
@ -5,7 +5,6 @@ clear; close all; clc;
|
|||||||
s = zpk('s');
|
s = zpk('s');
|
||||||
|
|
||||||
%% Path for functions, data and scripts
|
%% Path for functions, data and scripts
|
||||||
addpath('./mat/'); % Path for data
|
|
||||||
addpath('./src/'); % Path for functions
|
addpath('./src/'); % Path for functions
|
||||||
addpath('./subsystems/'); % Path for Subsystems Simulink files
|
addpath('./subsystems/'); % Path for Subsystems Simulink files
|
||||||
|
|
||||||
|
@ -5,7 +5,6 @@ clear; close all; clc;
|
|||||||
s = zpk('s');
|
s = zpk('s');
|
||||||
|
|
||||||
%% Path for functions, data and scripts
|
%% Path for functions, data and scripts
|
||||||
addpath('./mat/'); % Path for data
|
|
||||||
addpath('./src/'); % Path for functions
|
addpath('./src/'); % Path for functions
|
||||||
addpath('./subsystems/'); % Path for Subsystems Simulink files
|
addpath('./subsystems/'); % Path for Subsystems Simulink files
|
||||||
|
|
||||||
|
@ -5,7 +5,6 @@ clear; close all; clc;
|
|||||||
s = zpk('s');
|
s = zpk('s');
|
||||||
|
|
||||||
%% Path for functions, data and scripts
|
%% Path for functions, data and scripts
|
||||||
addpath('./mat/'); % Path for data
|
|
||||||
addpath('./src/'); % Path for functions
|
addpath('./src/'); % Path for functions
|
||||||
addpath('./subsystems/'); % Path for Subsystems Simulink files
|
addpath('./subsystems/'); % Path for Subsystems Simulink files
|
||||||
|
|
||||||
@ -97,7 +96,7 @@ for Dx = Dxs
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
sprintf('Actuator stroke should be from %.0f um to %.0f um', 1e6*L_min, 1e6*L_max)
|
disp(sprintf('Actuator stroke should be from %.0f um to %.0f um', 1e6*L_min, 1e6*L_max))
|
||||||
|
|
||||||
%% Compute mobility in translation with combined angular motion
|
%% Compute mobility in translation with combined angular motion
|
||||||
% Direction of motion (spherical coordinates)
|
% Direction of motion (spherical coordinates)
|
||||||
@ -232,5 +231,5 @@ for Dx = Dxs
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
sprintf('Fixed joint stroke should be %.1f mrad', 1e3*max(max_angles_F))
|
disp(sprintf('Fixed joint stroke should be %.1f mrad', 1e3*max(max_angles_F)))
|
||||||
sprintf('Mobile joint stroke should be %.1f mrad', 1e3*max(max_angles_M))
|
disp(sprintf('Mobile joint stroke should be %.1f mrad', 1e3*max(max_angles_M)))
|
||||||
|
@ -3502,7 +3502,7 @@ for Dx = Dxs
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
sprintf('Actuator stroke should be from %.0f um to %.0f um', 1e6*L_min, 1e6*L_max)
|
disp(sprintf('Actuator stroke should be from %.0f um to %.0f um', 1e6*L_min, 1e6*L_max))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
#+begin_src matlab
|
#+begin_src matlab
|
||||||
@ -3662,8 +3662,8 @@ for Dx = Dxs
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
sprintf('Fixed joint stroke should be %.1f mrad', 1e3*max(max_angles_F))
|
disp(sprintf('Fixed joint stroke should be %.1f mrad', 1e3*max(max_angles_F)))
|
||||||
sprintf('Mobile joint stroke should be %.1f mrad', 1e3*max(max_angles_M))
|
disp(sprintf('Mobile joint stroke should be %.1f mrad', 1e3*max(max_angles_M)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Conclusion
|
* Conclusion
|
||||||
@ -4904,7 +4904,6 @@ end
|
|||||||
#+NAME: m-init-path
|
#+NAME: m-init-path
|
||||||
#+BEGIN_SRC matlab
|
#+BEGIN_SRC matlab
|
||||||
%% Path for functions, data and scripts
|
%% Path for functions, data and scripts
|
||||||
addpath('./matlab/mat/'); % Path for data
|
|
||||||
addpath('./matlab/src/'); % Path for functions
|
addpath('./matlab/src/'); % Path for functions
|
||||||
addpath('./matlab/subsystems/'); % Path for Subsystems Simulink files
|
addpath('./matlab/subsystems/'); % Path for Subsystems Simulink files
|
||||||
addpath('./matlab/'); % Path for scripts
|
addpath('./matlab/'); % Path for scripts
|
||||||
@ -4913,7 +4912,6 @@ addpath('./matlab/'); % Path for scripts
|
|||||||
#+NAME: m-init-path-tangle
|
#+NAME: m-init-path-tangle
|
||||||
#+BEGIN_SRC matlab
|
#+BEGIN_SRC matlab
|
||||||
%% Path for functions, data and scripts
|
%% Path for functions, data and scripts
|
||||||
addpath('./mat/'); % Path for data
|
|
||||||
addpath('./src/'); % Path for functions
|
addpath('./src/'); % Path for functions
|
||||||
addpath('./subsystems/'); % Path for Subsystems Simulink files
|
addpath('./subsystems/'); % Path for Subsystems Simulink files
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
Reference in New Issue
Block a user