Introduction To MATLAB
MATLAB SIMPLE WORKS
MATLAB (matrix laboratory) is a multi-paradigm numerical computing environment and proprietary programming language developed by MathWorks.
MATLAB allows matrix manipulations, plotting of functions and data, implementation of algorithms, creation of user interfaces, and interfacing with programs written in other languages, including C, C++, C#, Java, Fortran and Python.
Although MATLAB is intended primarily for numerical computing, an optional toolbox uses the MuPAD symbolic engine, allowing access to symbolic computing abilities.
An additional package, Simulink, adds graphical multi-domain simulation and model-based design for dynamic and embedded systems.
MATLAB SIMPLE WORKS
1) How can we start matlab ? Ans:-
2) Simple Addition, Subtraction, Multiplication, Division in matlab. Ans:-
3) Plot a sine wave in matlab. Ans:-
4) Show random intigers without repeating a number from the given start vlue and end value.
function x=rand_selct(min,max,n)
A=min:max;
x=zeros(1,n);
for k=1:n
x(k) = randsrc(1,1,A);
a= find(A==x(k));
A(a)=[];
end
5) How can we change the figure title of figure window and also turn off the number title ?
figure('Name','New name to Give','NumberTitle','off')
2) Simple Addition, Subtraction, Multiplication, Division in matlab. Ans:-
3) Plot a sine wave in matlab. Ans:-
4) Show random intigers without repeating a number from the given start vlue and end value.
function x=rand_selct(min,max,n)
A=min:max;
x=zeros(1,n);
for k=1:n
x(k) = randsrc(1,1,A);
a= find(A==x(k));
A(a)=[];
end
5) How can we change the figure title of figure window and also turn off the number title ?
figure('Name','New name to Give','NumberTitle','off')
No comments:
Post a Comment