回答済み What is curve fitting and how to do it?
I will keep it concise so as not to go into an off-matlab area. Curve fitting (commonly associated with regression) usually come...
回答済み Array Question time again
Assuming this is a cell array, the naivest way to go is:
X=zeros(54,164);
for i=1:54
X(i,:)=[OldArray{i+1,1} OldArray...
12年弱 前 | 0
回答済み For loop with moving window
If I understand you correctly, you have an indexing problem. Try an indexing scheme like this:
for i=1:N
Weights(i)=fu...
回答済み 3D volume image reconstruction
How you would handle this problem depends on what you would like to achieve as the end result. Keep in mind, the "z axis" as you...
回答済み Help with data from multiple files
for i=1:26
eval(strcat('xloc',num2str(i),'=COTO_',num2str(i),'_sphere(:,1);'));
end
This is a lazy way to do it. Also, ...
Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because
6 = 1 + 2 + 3
which can be displa...
13年以上 前
解決済み
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
13年以上 前
解決済み
Times 2 - START HERE
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
Examples:...