Feeds
提问
Help with building an Iteration function
function [out] = iteration(N) if N<1 error('Input must be >0') end x(1)=4; for k=1:N x(k+1)=1+(0.5*sin(k)); %#ok<...
11 years 前 | 1 个回答 | 0
1
个回答提问
Help with picking out the first and last word in a string?
Hi, My code so far is: Str=input('Give a string: '); ind=find(Str==' '); num_words=size(ind,2)+1; disp(...
11 years 前 | 2 个回答 | 0
