統計
All
Feeds
解決済み
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:...
10ヶ月 前
回答済み
How to use a counter with a loop
N=1000; c=[2 3 5 7]; counter=1; for x=1:N V=mod(x,c); F=V(V==0); if isempty(F) Prime(counter)=x; ...
How to use a counter with a loop
N=1000; c=[2 3 5 7]; counter=1; for x=1:N V=mod(x,c); F=V(V==0); if isempty(F) Prime(counter)=x; ...
1年以上 前 | 0

