What is the output of the following MATLAB code?
isvector([]);
If the result of our summation is Infinity, what will MATLAB show
Find the value of a(1,1) given the following MATLAB code:
X = [1 2;3 4];
Y = [3 4;5 6];
a = (X.\Y);
In the following code, what is the fundamental frequency of the sawtooth command?
f=1/50; sawtooth(2*pi*1/f*t)
The randn command generates random numbers by following a
What will be the output for the below block of code?
P=[1 3 2]; r=roots(P);
What is the output of the following code?
function k = find_out(n)
k = k + 1;
while isprime(k) == false
k = k + 1;
end
end
Determine the output for find_out(41).
The dbquit
command, if placed in an M-file, will ________
Checking the linearity of a system, the first thing we need to check is whether the system is
What is the output of the following MATLAB code?
t=linspace(0,10);fzero(inline('t+t2'), 5);