일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
- 논문작성법
- Zotero
- 에러기록
- Python
- 논문작성
- matplotlib
- 생산성
- JAX
- MATLAB
- 텝스공부
- obsidian
- Linear algebra
- Statics
- Julia
- LaTeX
- ChatGPT
- teps
- 딥러닝
- 고체역학
- Numerical Analysis
- 수치해석
- pytorch
- WOX
- 텝스
- Dear abby
- 옵시디언
- 인공지능
- 우분투
- 수식삽입
- IEEE
- Today
- Total
목록분류 전체보기 (430)
뛰는 놈 위에 나는 공대생
안녕하세요, 보통의 공대생입니다. 블로그를 개설한지는 벌써 3년 정도 되었지만 막상 소개글을 작성하지는 않은 것 같아 후다닥 씁니다. 이 블로그는 제가 학부 4학년 때 휴학을 하면서 공부하던 것들을 정리하고 싶어서 만든 블로그입니다. 현재도 대학원생으로 지내며 공부한 것들을 정리해서 올리려고 노력하고 있습니다. 글을 정리하는 이유는 여러가지가 있겠지만 1) 공부한 것을 글로 적음으로써 생각을 정리하고 남에게 설명하는 법을 배우는 것 2) 여기저기 흩어져있는 지식들의 연결 고리를 찾아내어 이를 유기적으로 정리하는 것 3) 다른 사람들에게 유익한 정보를 제공하는 것 다음과 같은 이유가 될 것 같네요. 물론 목적에 걸맞게 글을 쓰고 있는가에 대해서는 항상 고민이 됩니다. 블로그라는 것 자체가 책이 아닌 인터넷..
LaTeX가 참 편하고 좋지만 단점을 찾자면 table 기능이 조금 어렵다는 점에 있다. 저번 글에서는 기본적인 table 작성 방법을 다루었고 여기서는 몇 가지 사용할 수 있는 좋은 방법들을 모아놓는다. 다루고자 하는 항목은 다음과 같다. 1. Table 글씨 크기 조정 2. Table 사이즈 조절 3. Table 내에서 줄바꿈 4. Table 내 highlight 5. Table vertical, horizontal spacing 변경 1. Table 글씨 크기 조정 이는 문서 내의 일부만 폰트 크기를 바꾸는 기능으로 꼭 table 뿐 아니라 다른 단락 등에도 사용할 수 있는 방법이다. 다음과 같이 폰트 사이즈를 의미하는 커맨드가 있다. 원하는 부분에 다음과 같이 원하는 사이즈의 폰트를 감싸주면 된다..
LaTeX에서 매크로를 만드는 가장 쉬운 방법은 \newcommand를 사용하는 것이다. 그 외에도 다른 사람들의 코드를 보다보면 잘 모르겠는 부분들이 있어서 하나씩 찾아보았다. 어떻게 매크로가 작동되는지를 알아야 편하기는 한데 여기서는 바로 가져다쓰기 좋은 코드를 기록하기 위한 글이다. 이 글은 아마 공부하면서 계속 수정할 것 같다. 0. def 원래 매크로를 지정할 때는 기본적으로 def를 사용했었는데 지금은 newcommand를 많이 쓴다. 1. newcommand 사용하기 새로운 커맨드를 사용할 때는 newcommand로 정의하고 만약에 이미 패키지에 속해있는 커맨드라면 renewcommand를 사용해야한다. 기본 format은 다음과 같다. \newcommand{\name}[no_of_param..
미분방정식 수업을 들은지는 꽤 지났지만 기계공학, 전자전기공학, 항공우주공학 심지어 화학공학 등 어딜가든 볼 수 있는 것이 미분방정식이기 때문에 자주 복습하게 되어 여전히 잘 쓰고 있는 이론들이다. 이 시리즈에서 쓸 내용은 학부 2학년 수준의 미분방정식 수업 필기 내용을 옮긴 것이다. 실제로는 더 많은 이론들이 있고 그 내용은 아예 다른 카테고리에 넣을지 여기에 계속 누적할 지는 잘 모르겠다. 다루는 내용 1. First-order differential equation 2. Second-order differential equation 3. Laplace transform 4. Systems of first-order linear DE 5. Partial differential equations and..
최근에 zotero를 좀 제대로 써보고 싶어서 태그를 도입하려고 하는데 문제가 하나 있었다. 다음 그림과 같이 이모지를 사용하려고 하면 흑백 이모지가 나온다는 점이다. 다른 곳에서 쓸 때는 😊👍❤️와 같이 문제가 전혀 없어서 이상하다 싶었다. zotero forum을 뒤적여보니 두 가지 해결 방법이 있었다. 1) zotero를 베타 7버전 (231210 기준)으로 업그레이드한다. 2) seguiemj.ttf 를 재설치한다. 1번을 먼저 했는데 바로 해결되지는 하지만 아직 베타버전이라 수많은 플러그인이 호환이 안되는 문제가 발생했다. 결국 버전6으로 돌아가고 폰트를 재설치했더니 해결되었다. seguiemj.ttf는 또 어디서 구하는가? 나는 열심히 검색해서 다음 깃허브에서 구했다. 리눅스에서 윈도우 이모지..
최근 Journal of Guidance, Control, and Dynamics (이하 JGCD) editorial에 있는 세 개의 글을 보고 정리하는 글이다. 참고한 글에 대한 정보는 하단에 남기도록 하겠다. 특히나 Guidance와 control은 application을 보면 혼용해서 쓰기도 하고 모호한 부분이 있어서 이런 글들을 통해 알아보고 싶었다. JGCD의 훌륭한 에디터 님의 말에 내 의견도 숟가락을 얹어보도록 하겠다. 참고로 여기서는 항공우주 분야 저널이기 때문에 어플리케이션이나 분류 자체가 항공우주 분야에 맞춰져있다. 목차 1. What is guidance? 2. What is navigation? 3. What is control? 1. What is guidance? 항공우주공학에서..
이번에는 dynamics를 통해 제어기를 생각하는 방법에 대해 다룬다. 사실 제어기를 설계하는 것은 정답이 있는 게 아니라 어떻게 모델링해서 어느 부분을 제어할 것이냐에 따라 달라질 수 있다. 따라서 본인이 달성하고자 하는 성능 지표나 운용 목적, 센서의 유무 등을 따져보아야 한다. dynamics를 알아야 하므로 다음 글을 참고한다. 1. Outer loop - Inner loop 제어기에서는 내부 루프와 외부 루프로 제어기가 구성된다. 내부 루프는 가장 빠른 response를 기준으로 설정이 된다. 가장 기본적으로 위치, 속도, 자세각, 각속도가 측정 가능하다고 가정한다. (그래야 피드백을 할 수 있으니까) 위 그림과 같이 위치 커맨드가 주어질 때의 루프를 나타낸 것이다. 위치가 주어지면, 이를 위한..
chatGPT의 흥미로운 점은 어떤 프롬프트를 쓰느냐에 따라 결과가 달라질 수 있다는 점이다. 이런 측면에서 더 나은 프롬프트를 사고 파는 시장까지 생겼다고 하니, 세상에는 참 많은 아이디어가 돈이 된다 싶기도 했다. 실제 openAI에서는 몇 가지 유용한 강좌를 제공해준다. 그중 하나가 지금 이야기하고자 하는 ChatGPT Prompt Engineering for Developers라는 강의이다. chatGPT를 더 유용하게 사용하기 위해 어떻게 명령을 넣으면 좋을지에 대해 설명해준다.80퍼센트 정도 들었는데 충분히 chatGPT를 사용하는 법에 대해 익숙해지기 좋은 것 같다.나중에 시간이 나면 어떤 식으로 프롬프트를 하는지 정리해놓고 싶다. (크흠..) 괜히 이상한 유튜브에서 chatGPT 설명을 찾..
JAX가 버전에 따라 조금씩 달라지는 부분이 있어서 정리해놓는 글. 1) 배열 원소 업데이트 방식 # JAX 0.3 이전 input_data_test = index_update(input_data_test, index[i,:], input_data_tmp) # JAX 0.4 input_data_test = input_data_test.at[i,:].set(input_data_tmp) 2) optimizers 0.3버전에서는 optimizer가 기본적으로 제공이 되는데 이 방식이 0.4에서는 바뀐다.
문서를 보면 상단바(Header)를 만들고 싶을 수 있다. Heading을 만드는 방법은 여러 코드들을 보다보면 제각각이라서 다양한 방법을 소개하고자 한다. 1. fancyhdr package 사용하기 다음 링크에 가보면 overleaf에서 간단하게 header를 만드는 방법에 대해 설명했다. \documentclass[11pt]{article} \usepackage{fancyhdr} \usepackage[margin=1in]{geometry} \begin{document} \pagestyle{fancy} %... then configure it. \fancyhf{} % Set the header and footer for Even % pages but omit the zone (L, C or R) \f..