Espen
自 2011 起处于活动状态
Followers: 0 Following: 0
Feeds
提问
textscan and fscanf for text with some rows only text and some rows only numbers
>> matrix=[1:4;4:7] matrix = 1 2 3 4 4 5 6 7 >> save onematrix.reef matrix -ascii >> fid=f...
14 years 前 | 1 个回答 | 0
1
个回答提问
problem with getting for loop to work
function int=calculateintegral(from,to,subinterval) inttemp=0; if rem(subinterval,2)>0 int='subinterval must be devi...
14 years 前 | 1 个回答 | 0
1
个回答提问
fprintf applied to variable
function balancepoint=findbalpoint(A) weight=0; i=1; while weight<sum(A)/2 weight=weight+A(i); ...
14 years 前 | 1 个回答 | 0
1
个回答提问
how to stop while statement
function isitalike=comparestrings(a,b) n=length(a); m=length(b); c=logical(0); y=m; z=n; f=0; ...
14 years 前 | 1 个回答 | 0
1
个回答提问
string as input for function
this function handles a string as input: function rev=stringrev(a) n=length(a); for i=1:n b(i)=a(n-i+1...
14 years 前 | 1 个回答 | 0
