Feeds
질문
Using a function in another function
I'm trying to use a function in another. For example, there's a defined function: function y=super(x) y=x.^2; end and I want...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
sort an array without using the command sort
function sortvector(v) v1=zeros(1,length(v)); for i=1:length(v) v1(i)=min(v); v(find(v==v1(i)))=[]; end disp(v1) ...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
How can I form a vector operating with another?
I'm trying to do the operaton (2^n)/2n with n=(0:100) how can I form a vector of the same size using the results?
5년 초과 전 | 답변 수: 1 | 0

