photo

Shubham Pandey


Last seen: 5年以上 前 2018 年からアクティブ

Followers: 0   Following: 0

統計

All
MATLAB Answers

0 質問
2 回答

Cody

0 問題
2 解答

ランク
12,287
of 300,302

評判
4

コントリビューション
0 質問
2 回答

回答採用率
0.00%

獲得投票数
2

ランク
 of 20,911

評判
N/A

平均評価
0.00

コントリビューション
0 ファイル

ダウンロード
0

ALL TIME ダウンロード
0

ランク
93,044
of 168,040

コントリビューション
0 問題
2 解答

スコア
30

バッジ数
1

コントリビューション
0 投稿

コントリビューション
0 パブリック チャネル

平均評価

コントリビューション
0 ハイライト

平均いいねの数

  • First Answer
  • Solver

バッジを表示

Feeds

表示方法

回答済み
Write a function called max_sum that takes v, a row vector of numbers, and n, a positive integer as inputs. The function needs to find the n consecutive elements of v whose sum is the largest possible.
function [s,i] = max_sum(v,n) s = 0; i = 0; len = length(v); l = len-n+1; if n>len s = 0; i = -1; else for ...

5年以上 前 | 2

回答済み
Write a function called halfsum that takes as input an at most two-dimensional array A and computes the sum of the elements of A that are in the lower right triangular part of A
function sum = halfsum(a) sum = 0; [row,col] = size(a); for i=1:row for j=1:col if i<=j ...

5年以上 前 | 0

解決済み


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

7年弱 前

解決済み


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:...

7年弱 前