Weighted Residue Method for Bar problem

This code helps you to simulate the deformation for one Dimensional Bar problem using weighted residue method.

You are now following this Submission

This code helps you to simulate the Deformation for One Dimensional Bar problem using Weighted residue method. A bar problem is defined by 2nd order differential equation and the curve of deformation is similar to polynomial equation. So a polynomial equation is chosen as a trail equation to solve this problem.

The weighted residue method has 4 types

- Point Collacation Method
- Sub Domain Method
- Least Square Method
- Galerkin Method

More on this by our professor:

https://www.youtube.com/channel/UCb9yUlVCfWHWSgeufub7oww

Cite As

Farhan Ahamed (2026). Weighted Residue Method for Bar problem (https://www.mathworks.com/matlabcentral/fileexchange/79068-weighted-residue-method-for-bar-problem), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.1

It now includes Rayleigh Ritz Method.

1.0.0