resultant(varargin)
resultant(varargin) is a matlab function that calculates the resultant of a system of forces.
resultant takes any number of input argument. But each argument must be in pairs, the first representing the force and the second, the bearing.
For example, to calculate the resultant of the following forces:
220N in the direction 030
153N in the direction 090
At the command line type
resultant([220 30],[153 90])
or
f1 = [220 30];
f2 = [153 90];
then type
resultant(f1,f2)
resultant also displays the workings in a tabular form and plots the resultant force
Cite As
Nwaobasi Chukwuemeka (2024). resultant(varargin) (https://www.mathworks.com/matlabcentral/fileexchange/48527-resultant-varargin), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Simulink > Block and Blockset Authoring > Author Block Algorithms > Author Blocks Using MATLAB > Author Blocks Using MATLAB System Objects > Customize System Objects for Simulink >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |