# Author: totosugito

## lapack sgetrs tutorial

I have a problem to solving system linear equation Ax=b using lapack. I am planned to use sgetrs subroutine in lapack to solving system linear equation Ax=b. sgetrs descriptions is a subroutine to Solves a system of linear equations with an LU-factored square coefficient matrix, with multiple right-hand sides. So, we need to process our

## gausswin source code

I want to create gaussian window program in C/C++. I have checked at Matlab and they give gausswin function to create gaussian window. I have checked gausswin Matlab source code and convert that code to C/C++. The coefficients of a Gaussian window are computed from the following equation: where –(N – 1)/2 ≤ n ≤ (N – 1)/2 and α is inversely proportional

## Matlab Data Precision Problem

I have created a simple computation using Matlab using command : >> (0.1450-0.002)/0.002 ans = 71.5000 Nothing wrong with the result. But, try to change data precision format and try to retype command above. we will get Matlab data precision problem from this simple computation. >> format long >> (0.1450-0.002)/0.002 ans = 71.499999999999986 We get