Custom solution for 3 non-linear simultaneous equations

버전 1.0.0.0 (2.15 KB) 작성자: Bruce Raine
Solves one type of non-linear system of 3 simultaneous equations in 3 unknowns.
다운로드 수: 611
업데이트 날짜: 2010/1/12

라이선스 보기

This customised function solves one type of non-linear system
of 3 simultaneous equations in 3 unknowns: k, L and r0 in 3 equations with 4 knowns: zeta, eeta, d and angle.

function matrixresults = symsolvenonlineq(n,degrees,dinput)

% EXAMPLE USAGE: m=symsolvenonlineq(3,45,20)
% nb: takes around 738s to process two 1 x 1000 matrices

INPUT Parameters:
% n determines size of a random matrix for zeta and eeta,
% degrees is the angle and sets constant 'angle' (in radians),
% dinput sets constant 'd'.
%
%OUTPUT:
%returns a 2D matrix of results for k,L and r0.
%
%5 things to note:
%1/ you need to do a 'clear all' prior to running the function
%otherwise it may crash on big input matrices;
%2/ could not use 'zeta' with 'solve' as it gave an error so
%shortened variable 'zeta' to 'zet';
%3/ always produces a complex solution set for k, L and r0.
%4/ always get 2 complex solutions for each of k, L and r0.
%5/ function returns 1 complex solution times n for k, L and r0.

인용 양식

Bruce Raine (2024). Custom solution for 3 non-linear simultaneous equations (https://www.mathworks.com/matlabcentral/fileexchange/26359-custom-solution-for-3-non-linear-simultaneous-equations), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2009b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Optimization Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0