Machine Learning-Overview of common matlab programming commands
-- Summary from ng-ml-class octave/MATLAB tutorial CourseraA. basic operations and moving data around1 in command line mode, you can use Shift + press enter to append the next line to output 2 length command to apply to the matrix, and return a higher one-dimensional dimension3 help + command is the
\11.0\quartus\bin\my_superlicense1.dat, but Matlab warn't straightAlways lm_license_file----D:\questasim_10.0c\LICENSE. TXT; Do not go, will not replace the newly added variableHelpless, I will my_superlicence1.dat in the relevant and DSPB cracked content code to copy paste to D:\questasim_10.0c\LICENSE. TXT txt in the documentationHowever, the most I can not think of things happen: MATLAB2011B unexpectedly admitted that licence with DSPB permission,
file operation.m, select, open.Seventh step: After the sixth step is completed, the following interface appears.Eighth step: To continue the step is to have a build button, in fact, is the packaging button, we click on the long package itNineth step: Just start packingTenth step: When the build finished, it means that we have packaged successfully.11th Step: To create a Java project in Eclipse, the key step is to import our successfully packaged jar package, which is in the SRC folder under the
variable ② judge the loop condition ③ update the loop variableBetween three expressions, with or as a separator; For loop three expressions can be omitted, but two ";" Indispensable2, for loop characteristics: First judge, then execute;3, for loop three expressions can have a multi-part, separated by commas, but the second part of the judging condition needs to use connection, the final result needs to be true/FalseV. "Circular control statements"1, break: Terminate this layer loop, contin
Https://www.coursera.org/learn/machine-learning/exam/dbM1J/octave-matlab-tutorial
Octave Tutorial
5 questions
1.Suppose I first execute the following Octave commands:
A = [1 2; 3 4; 5 6];
B = [1 2 3; 4 5 6];
Which of the following is then valid Octave commands? Check all, apply and assume all options is written in an Octave command.
Tutorial Content:"MATLAB Neural network principles and examples of fine solutions" accompanying the book with the source program. RAR9. Random Neural Networks-rar8. Feedback Neural Networks-rar7. Self-organizing competitive neural networks. RAR6. Radial basis function network. RAR5.BP neural network. RAR4. Linear neural Networks-rar3. Single-layer perceptron. RAR2.MATLA
matrix dimensions must agree.
"
. Operation, similar
A. * B
It is to multiply the elements corresponding to a and B. Likewise, it can be used in the/(Division) method, but Division is divided into the left and right vertices because of the difference of "/" and;
Similar;
A = [1 2; 3 4]
B ='
C = A./B
Output:
C =
1.0000 0.66671.5000 1.0000
However, when a. \ B is used, the output is:
C =
1.0000 1.50000.6667 1.0000
Use inv (n) to obtain the inverse matrix of the matrix, similar
A = [1 2; 3 4]
I
Variable assignment, similar
A = 1
B = 2
Array assignment, similar:
T = [1 2 3 4 5]
T = 1:5
T =.
Use the Whos command to output the currently defined variables:
Help Original:
Whos is a long form of WHO. It lists all the variables in the currentWorkspace, together with information about their size, bytes, class,Etc.
Draw a curve:
Plot function:
Plot (x, y), with X as the horizontal axis, y as the vertical axis, and XY as the ing relationship;
For example, draw the following Cu
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.