Mughees Asif
Followers: 0 Following: 0
Feeds
질문
Displaying empty array as output
function B=IsStable(polynomial) if AllNonZero(polynomial) == false H = []; B = 0; elseif AllSameSign(polynomial) == false H...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
Error in while loop
function IsStable(polynomial) if AllNonZero(polynomial) == false H=[] elseif AllSameSign(polynomial) == false H=[] ...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
Calling multiple .m files into separate function
function [B, H] = IsStable(polynomial) if polynomial ~= AllNonZero(polynomial(false)) B=0; H=[]; elseif polynomial ~...
5년 초과 전 | 답변 수: 0 | 0
0
답변질문
Calling another .m file function
function IsStable(polynomial) AllNonZero(polynomial) AllSameSign(polynomial) length(polynomial); while 1i==1:polynomial...
5년 초과 전 | 답변 수: 0 | 0
0
답변질문
Basic function to find value
Hi, I have the following function which should consume a row vector and return a value of 1, if non of the elements are 0 in the...
5년 초과 전 | 답변 수: 2 | 0
2
답변질문
Graph limits and area
I have the following code: x = linspace(-5, 5, 1000); y1 = -x; y2 = x.^2-4; lidx = y1 >= y2; figure set(findobj(gcf,'type'...
5년 초과 전 | 답변 수: 0 | 0
0
답변질문
Highlight specific area of graph.
I have the following code: syms x y y = -x; fplot(x, y, 'k') hold on y = x.^2-4; fplot(x, y, 'k') hold off xlim([-5 5])...
5년 초과 전 | 답변 수: 1 | 1
1
답변질문
Double output using disp()
The following code gives two outputs when I have only one disp() command at the end: characteristic = [1.000 2.2500 2.5002]...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
Signs in the output.
h = [-1 -2 0] j=sqrt(sum(h.^2)); %Number conversion into string format k=num2str(h(1)); l=num2str(h(2)); m=num2str(h(3)); ...
5년 초과 전 | 답변 수: 2 | 0
2
답변질문
Calculating dot product of 2 3 dimensional row vectors
x=input('Enter the 1st pair of 3 vector elements in [square brackets]: '); if (x~=3); disp('The vectors elements cannot c...
5년 초과 전 | 답변 수: 1 | 0