Results for "Author: kmmatney"
This code shows real-time smoothing of noisy data using two algorithms. The first is a FFT (Fast Fourier Transform) method that is used in image processing. The second algorithm is the Savitzky-Golay technique, which uses a quadratic least-squares moving window. This program allows the user to create noisy data with a varying number of points and randomness, then apply different smoothing settings on the data. A graph updates the data after each smoothing event. Easy to apply to any data - Microsoft should have included this with Excel (The Excel moving average function is very weak).
This code shows how to calculate loan payments and amortized payments over a fixed amount of time. It allows the user to include an additional payment, either as a fixed amount of extra principal, or as a fixed payment over the P+I) It is based on an old VB 3.0 example, but improved to include the extra payment capability. It also calculates how much money is saved with the extra payment included.
This is not code but a simple tip. To easily move one or more controls around the screen, simply select the control(s), then press the arrow keys while holding down the ctrl key. Use the arrow keys along with the shift key to resize controls. I find this gives me much better control than using the mouse. Note: This also works with "locked" controls, which can't be moved by the mouse. Very useful if you tend to lock the controls on your form a lot.
This project shows how to take any custom equation that is a function of X and Y, and plot it in a picture box. The plot is a rudimentary 2D colored contour plot, but it does look pretty. This project has several useful components: 1) An equation parser class with built-in error checking 2) Color mixing algorithms with a customized interface 3) Shows how to plot XYZ values in a picture box Cool stuff...
This code shows real-time smoothing of noisy data using two algorithms. The first is a FFT (Fast Fourier Transform) method that is used in image processing. The second algorithm is the Savitzky-Golay technique, which uses a quadratic least-squares moving window. This program allows the user to create noisy data with a varying number of points and randomness, then apply different smoothing settings on the data. A graph updates the data after each smoothing event. Easy to apply to any data - Microsoft should have included this with Excel (The Excel moving average function is very weak).
This code shows how to calculate loan payments and amortized payments over a fixed amount of time. It allows the user to include an additional payment, either as a fixed amount of extra principal, or as a fixed payment over the P+I) It is based on an old VB 3.0 example, but improved to include the extra payment capability. It also calculates how much money is saved with the extra payment included.
This is not code but a simple tip. To easily move one or more controls around the screen, simply select the control(s), then press the arrow keys while holding down the ctrl key. Use the arrow keys along with the shift key to resize controls. I find this gives me much better control than using the mouse. Note: This also works with "locked" controls, which can't be moved by the mouse. Very useful if you tend to lock the controls on your form a lot.
This project shows how to take any custom equation that is a function of X and Y, and plot it in a picture box. The plot is a rudimentary 2D colored contour plot, but it does look pretty. This project has several useful components: 1) An equation parser class with built-in error checking 2) Color mixing algorithms with a customized interface 3) Shows how to plot XYZ values in a picture box Cool stuff...
This code shows real-time smoothing of noisy data using two algorithms. The first is a FFT (Fast Fourier Transform) method that is used in image processing. The second algorithm is the Savitzky-Golay technique, which uses a quadratic least-squares moving window. This program allows the user to create noisy data with a varying number of points and randomness, then apply different smoothing settings on the data. A graph updates the data after each smoothing event. Easy to apply to any data - Microsoft should have included this with Excel (The Excel moving average function is very weak).
This code shows how to calculate loan payments and amortized payments over a fixed amount of time. It allows the user to include an additional payment, either as a fixed amount of extra principal, or as a fixed payment over the P+I) It is based on an old VB 3.0 example, but improved to include the extra payment capability. It also calculates how much money is saved with the extra payment included.
This is not code but a simple tip. To easily move one or more controls around the screen, simply select the control(s), then press the arrow keys while holding down the ctrl key. Use the arrow keys along with the shift key to resize controls. I find this gives me much better control than using the mouse. Note: This also works with "locked" controls, which can't be moved by the mouse. Very useful if you tend to lock the controls on your form a lot.
This project shows how to take any custom equation that is a function of X and Y, and plot it in a picture box. The plot is a rudimentary 2D colored contour plot, but it does look pretty. This project has several useful components: 1) An equation parser class with built-in error checking 2) Color mixing algorithms with a customized interface 3) Shows how to plot XYZ values in a picture box Cool stuff...
This code shows real-time smoothing of noisy data using two algorithms. The first is a FFT (Fast Fourier Transform) method that is used in image processing. The second algorithm is the Savitzky-Golay technique, which uses a quadratic least-squares moving window. This program allows the user to create noisy data with a varying number of points and randomness, then apply different smoothing settings on the data. A graph updates the data after each smoothing event. Easy to apply to any data - Microsoft should have included this with Excel (The Excel moving average function is very weak).
This code shows how to calculate loan payments and amortized payments over a fixed amount of time. It allows the user to include an additional payment, either as a fixed amount of extra principal, or as a fixed payment over the P+I) It is based on an old VB 3.0 example, but improved to include the extra payment capability. It also calculates how much money is saved with the extra payment included.
This is not code but a simple tip. To easily move one or more controls around the screen, simply select the control(s), then press the arrow keys while holding down the ctrl key. Use the arrow keys along with the shift key to resize controls. I find this gives me much better control than using the mouse. Note: This also works with "locked" controls, which can't be moved by the mouse. Very useful if you tend to lock the controls on your form a lot.
This project shows how to take any custom equation that is a function of X and Y, and plot it in a picture box. The plot is a rudimentary 2D colored contour plot, but it does look pretty. This project has several useful components: 1) An equation parser class with built-in error checking 2) Color mixing algorithms with a customized interface 3) Shows how to plot XYZ values in a picture box Cool stuff...
This code shows real-time smoothing of noisy data using two algorithms. The first is a FFT (Fast Fourier Transform) method that is used in image processing. The second algorithm is the Savitzky-Golay technique, which uses a quadratic least-squares moving window. This program allows the user to create noisy data with a varying number of points and randomness, then apply different smoothing settings on the data. A graph updates the data after each smoothing event. Easy to apply to any data - Microsoft should have included this with Excel (The Excel moving average function is very weak).
This code shows how to calculate loan payments and amortized payments over a fixed amount of time. It allows the user to include an additional payment, either as a fixed amount of extra principal, or as a fixed payment over the P+I) It is based on an old VB 3.0 example, but improved to include the extra payment capability. It also calculates how much money is saved with the extra payment included.
This is not code but a simple tip. To easily move one or more controls around the screen, simply select the control(s), then press the arrow keys while holding down the ctrl key. Use the arrow keys along with the shift key to resize controls. I find this gives me much better control than using the mouse. Note: This also works with "locked" controls, which can't be moved by the mouse. Very useful if you tend to lock the controls on your form a lot.
This project shows how to take any custom equation that is a function of X and Y, and plot it in a picture box. The plot is a rudimentary 2D colored contour plot, but it does look pretty. This project has several useful components: 1) An equation parser class with built-in error checking 2) Color mixing algorithms with a customized interface 3) Shows how to plot XYZ values in a picture box Cool stuff...