41⟩ What are Xmath features?
► Scripting language with OOP features
► Libraries that are LNX and C language compatible
► A debugging tools with GUI features
► Color graphics can be pointed and clickable
“MATLAB Interview Questions and Answers guide to educate about the Matlab is a numerical computing environment and programming language. You will learn in Matlab Interview Questions and Answers that MATLAB is a high-performance language for technical computing. It integrates computation, visualization, and programming in an easy-to-use environment where problems and solutions are expressed in familiar mathematical notation.”
► Scripting language with OOP features
► Libraries that are LNX and C language compatible
► A debugging tools with GUI features
► Color graphics can be pointed and clickable
They are just a plain ASCII text that is interpreted at run time. They are like sub-programs stored in text files with .m extensions and are called M-files. For most of the MatLab, development M-files are used.
Some of the common toolboxes in Matlab are
► Control System
► Fuzzy Logic
► Image Processing
► LMI control
► Neural Networks
► Robust Control
► System Identification
You need to use Simulink Simpower toolbox and voltage source. Use any RL branch as load and add acircuit breaker between source and load to create voltage dip at specified simulation time.
They are basically native C or C++ files which are linked directly into the MatLab application at runtime. MEX files have efficiency to crash the MatLab application
Get and Set are referred as getter and setter functions. For assigning properties, setter functions are used while for accessing properties getter functions are used.
diff(y) means calculates differences between adjacent elements of y along the first array dimension
y= [1 1 2 3 5 8 13 21];
z=diff(y)
z =
0 1 1 2 3 5 8
this is the difference between the adjacent columns (second column-first column) and the result of diff function that is number of column of z is one less than the number of column of y
diff(y,x) where x=2
diff function will call two times (x times)
y= [1 1 2 3 5 8 13 21];
x=2;
z=diff(y,x)
z= 1 0 1 1 2 3
number of column of z is two less than y