Feeds
提问
Function outputs a 1x2 matrix, yet I can't append that matrix to another matrix.
function prop(f,u,q,sq) %Define stuff SQ=[]; Q=[]; g=size(q); %Evaluation of f with q Q=s...
13 years 前 | 1 个回答 | 2
1
个回答提问
Problem with undefined variable
Hi, I'd like to construct a function Q that has a symbolic expression f(u1,u2,...,ui) as an argument. The thing is that I do...
13 years 前 | 1 个回答 | 0
1
个回答提问
Peak-finding function doesn't work.
function [M] = peak(A) for j=2:size(A,2) if A(j,2)-A(j-1,2) >= 0 && A(j,2)-A(j+1,2) >= 0 M=[M,A(j,1)]; en...
13 years 前 | 1 个回答 | 0