統計
MATLAB Answers
1 質問
0 回答
ランク
of 177,745
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Feeds
質問
Can someone explain why the top code works but the bottom one has an error that says "Index exceeds the number of array elements. Index must not exceed 1."
First Code: f=@(x) ((2.*x)./((2.*x)-1)).*((2.*x)/((2.*x)+1)); k=1;s=f(1); for k=2:1000 s=s*f(k); end s Second Code: ...
1年以上 前 | 1 件の回答 | 0
