Matlab Chapter 3 - string
Chapter 3 string3.1 creation of string array
1. Direct input method
2. Using ASCII code
3. Using functions
[example 3-1] direct input method
>> a = 'hello'
a =
hello
>> b = '''Hello'''
b =
'Hello'
>> c = [a,'',b,'.']#String array (an array, which is a string)
c =
hello'Hello'.
...
Posted by youngp on Mon, 16 Mar 2020 04:59:53 -0700
Drawing volume microelements in spherical coordinate system with tikz
Recently, the first task is to deduce the differential equation of heat conduction in the spherical coordinate system. I think that since the derivation, it must start from drawing a good picture A kind of On the Internet, I found the diagram of volume microelements in spherical coordinate system. Ho ...
Posted by jroodman on Tue, 10 Mar 2020 02:28:56 -0700
Foundation of deep learning -- a detailed introduction to matplotlib
matplotlib is inspired by MATLAB. Matlab is a widely used language and tool in the field of data drawing. MATLAB language is process oriented. Using function call, matlab can easily use a line of command to draw lines, and then use a series of functions to adjust the results.
Matplotlib has a set of dra ...
Posted by jomofee on Sat, 07 Mar 2020 08:13:18 -0800
"Python drawing sharp tool": Matplotlib tutorial
Article directory
1. Preface
2. Introduction to Matplotlib
3. installation
4. Drawing basis
4.1 plot() function
4.1.1 Chinese display
4.1.2 text display
5. Drawing of common charts
5.1 histogram
5.1.1 simple example
5.1.2 function definition
5.1.3 histogram of normal distribution
5.2 pie chart ...
Posted by BLaZuRE on Thu, 05 Mar 2020 19:40:13 -0800
Summary of Wu Enda's machine learning code and related knowledge points -- ex3 (1. Neural network)
Analysis of python matrix multiplication (multiply / maumull / * / @)
1. Load data
def load_data(path,transpose=True):
data=sio.loadmat(path)
y=data.get("y")#before reshape:(5000, 1)
y=y.reshape(y.shape[0])
X=data.get("X")#(5000,400),(400,)
if transpose:
#Vectorization, so ...
Posted by zdzislaw on Fri, 28 Feb 2020 03:47:24 -0800
Simple UDP communication between Simulink and Python
UDP communication between Simulink and Python
This paper summarizes the recent tasks, uses UDP to realize the communication between simulink and python, and focuses on the code of the Python udp receiver (see for the usage of python socket Previous: basic usage of socket module in python)
In fact, the ...
Posted by tommmmm on Tue, 04 Feb 2020 02:30:07 -0800
Machine Learning Andrew Ng -5. Octave Tutrial (Matlab)
5.1 Basic operations
5.2 Moving data around
5.3 Computing on data
5.4 Plotting data
5.5 For while if statement and functions
5.6 Vectorization
After reading the first two lessons, I think matlab seems to be the same as octave, so I plan to use matlab to learn the fifth lesson
basic operation
?? ...
Posted by ponsho on Sat, 18 Jan 2020 10:07:55 -0800
Icing on the cake for the first snow in 2020: use matplotlib to draw snowflakes and snow scenes
A heavy snow covered North and East China. The heaven and the earth are linked together, and the city is covered in silver, which is full of poetic and picturesque feelings, and everyone is in high spirits. Friends circle is painted by snow pictures and jokes about road skating and wrestling, and the at ...
Posted by redtux on Mon, 13 Jan 2020 05:13:45 -0800
[Matlab] PCA dimension reduction to realize face recognition (with learning materials, code program, notes and operation results)
PCA face recognition with Matlab
Winter vacation is coming, Mr. Wang summed up some of the things he learned in this semester, and came to share with you.
1, Theoretical knowledge basis
1. Experience sharing of some predecessors (not limited to these)
(1)PCA face recognition: a must for beginner ...
Posted by metkat on Fri, 10 Jan 2020 05:59:41 -0800
The generation of matlab combination sequence, bijection function of sequence and sequence number
Label (space separated): matlab combination algorithm mapping
Article directory
Label (space separated): matlab combination algorithm mapping
@[toc]
The generation of matlab combination sequence, bijection function of sequence and sequence number
1.1 generating combined sequences
1.2 mapping of composite sequences to ord ...
Posted by Daniello on Sat, 21 Dec 2019 12:47:22 -0800