the problem solved by this is just multiplication of a variable by 2 ..
tushar kataria (2022). function making input twice (https://www.mathworks.com/matlabcentral/fileexchange/40950-function-making-input-twice), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!