본문 바로가기

solve2

Tips for Matlab Equation Tips for Matlab Equation When organizing or calculating complex expressions, I have now become a body that cannot be solved without the Matlab. I will introduce some useful functions with examples when using Matlab, an all-around calculator for engineering students. 1. Generate Character Variables | syms Use it when you want to express variables in an equation. Let's not make a mistake of puttin.. 2020. 9. 24.
매트랩 수식 관련 함수 모음 매트랩 수식 관련 함수 모음 복잡한 식을 정리하거나 계산할 때 이제 손으로는 풀 수 없는 몸이 되어버렸다. 공대생의 만능 계산기 매트랩으로 풀 수 있게 알아두면 좋은 함수 몇 개를 예시와 함께 소개해본다. 1. 문자 변수 생성 syms 방정식의 변수를 표현하고 싶을 때 쓰면 좋다. syms 다음에 = 을 넣는 실수는 하지말자. syms x1 x2 y = x1 + x2 + 1 2. 방정식 근 구하기, 수식 정리하기 solve 방정식의 해를 구할 때 좋다. solve(식, 변수) 형태로 입력하면 된다. syms x f = x^2 - 4 == 0; solve(f,x) 또한 특정 변수에 대해 정리하는 데 써도 된다. 다음은식 f를 x1에 대해 정리한 결과이다. syms x1 x2 f = x1^2 +x2 - 4 .. 2020. 8. 10.
반응형