MATLAB Basic Functions Reference - MathWorks
AB Basic Functions ReferenceMATLAB EnvironmentclcClear command windowhelp funDisplay in-line help for fundoc funOpen documentation for funload("filename","vars")Load variables from .mat fileuiimport("filename")Open interactive import tool save("filename","vars")Save variables to fileclear itemRemove items from workspaceexamplescriptRun the script file named examplescriptformat styleSet output display formatverGet list of installed toolboxestic, tocStart and stop timerCtrl+CAbort the current calculationOperators and Special Characters+, -, *, /Matrix math operations.*, ./ Array multiplication and division (element-wise operations)^, .^Matrix and array power\Left division or linear optimization.', 'Normal and complex conjugate transpose==, ~=, <, >, <=, >=Relational operators&&, ||, ~, xorLogical operations (AND, NOT, OR, XOR);Suppress output lines (with break)% Description Comment'Hello'Definition of a character vector"This is a string"Definition of a stringstr1 + str2Append stringsDefining and Changing Array Variablesa = 5 Define variable a with value 5A = [1 2 3; 4 5 6]A = [1 2 3 4 5 6] Define A as a 2x3 matrix space separates columns ; or new line separates rows[A,B]C
MATLAB® Basic Functions Reference MATLAB Environment clc Clear command window ... summary(T), groupsummaryPrint summary of table join(T1, T2) Join tables with common variables Plotting plot(x,y,LineSpec) ... To see the commands that the task runs, show the generated code.
Download MATLAB Basic Functions Reference - MathWorks
Information
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document: