## [GUI application] Matrix calculator implemented by Matlab

Interface Design
Effect Display
Body Source
%%matrix additiona=str2num(get(handles.edit1,'string'));b=str2num(get(handles.edit2,'string'));[ia ja]=size(a);[ib jb]=size(b);if ia ~= ib | ja ~= jb |(ia ~= ib & ja ~= jb) c='error.Matrix dimensions must agree.'; set(handles.text1,'String ...

Posted on *Fri, 06 Mar 2020 18:05:37 -0800* by **lalabored**

## A02 python (basic data type, container, function, class), numpy (array, array index, data type, mathematics in array, broadcast)

Python version
Basic data type
Like most languages, Python has many basic types, including integers, floats, Booleans, and strings. These data types behave in a similar way to other programming languages.Numbers (number type): it represents integer and floating-point number. Its principle is the sam ...

Posted on *Fri, 06 Mar 2020 03:25:41 -0800* by **sanlove**

## Implementation of digital image processing in python - Wiener filter for image restoration

content validity
Direction and angle estimation of motion blur kernel
Determination of the length and angle of the optimal motion fuzzy kernel
Motion blur kernel generation
Wiener filtering
Direction and angle estimation of motion blur kernel
Here is a general method, cepstrum, as follows:
It sh ...

Posted on *Fri, 06 Mar 2020 01:59:13 -0800* by **andrei.mita**

## Using genetic algorithm to solve function extremum (fortran)

Using genetic algorithm to solve function extremum (fortran)
Written in front
The past and present life of genetic algorithm
Algorithm steps
The main structure of genetic algorithm
Start solving:
The results show that:
Finally, I'd like to say something that needs attention
Written in front
Th ...

Posted on *Wed, 12 Feb 2020 21:45:07 -0800* by **Zamees**

## Brushless DC Motor Learning Notes 8

1. Content
The main content of this period of learning combs the control principle of FOC in the first two periods and the content of MATLAB modeling and simulation, combs the sinusoidal wave control program with sensors, links up and down, so as to achieve better learning results.
2. Points of Know ...

Posted on *Wed, 22 Jan 2020 17:18:10 -0800* by **billkom**

## Matlab technique obtains / modifies Simulink signal line parameters through script

In the previous blog "matlab skills (2) batch obtaining / modifying Simulink module parameters", it is explained that if the parameters of Simulink module are obtained / modified in batch through MATLAB script. Specific methods can be referred to https://blog.csdn.net/u013288925/article/detail ...

Posted on *Tue, 21 Jan 2020 05:11:42 -0800* by **Rowno**

## Point operation in digital image processing -- histogram equalization

I. Theoretical Basis
1. Histogram equalization
2. Histogram specification
(there are many theoretical basis derivation, you can baidu yourself. Here only matlab implementation and histogram equalization and specification are given.)
II. matlab implementation
Histogram equalization:
%histogram equalization
I=imread('pout.tif');
...

Posted on *Thu, 28 Nov 2019 09:03:28 -0800* by **yogadt**

## Fast Fourier transform (FFT) source program

The source program I wrote is based on MATLAB platform, but its idea is based on C + +, because MATLAB has its own fast Fourier transform (fft) function. I didn't understand the operation principle of fft in MATLAB, so I wrote a source program.
The theoretical knowledge of FFT can refer to the contents of these bloggers< ht ...

Posted on *Fri, 22 Nov 2019 07:50:39 -0800* by **cybaf**

## matlab2019 Associates with m Files

Many associateFiles files found on the Internet are associated with m files, but they are not available at all for matlab 2019. New associateFiles are now available for hands-on testing.
1. Download the file and place the associateFiles in the MATLAB folder to run the file in matlab.
2. Copy the generated MATLAB FileAssocFix file ...

Posted on *Thu, 07 Nov 2019 08:11:34 -0800* by **brad_langdon**

## Conversion of four formats of Python: sensor, Image, numpy and opencv

Don't talk much, code first
# -*- coding: utf-8 -*-
# @Time : 2019/4/28 13:52
# @Author : ljf
import torch
from torchvision import transforms
from PIL import Image
import numpy as np
import cv2
# 1.1 tensor2Image Image format for drawing and display
tensor1 = torch.randint(0,255,(300,300))
transform1 = transforms ...

Posted on *Wed, 06 Nov 2019 15:31:59 -0800* by **jpratt**