Gautam Vallabha

MathWorks

自 2011 起处于活动状态

Followers: 0   Following: 0

消息

统计学

All
MATLAB Answers

1 个提问
23 个回答

File Exchange

17 文件

Cody

0 个问题
10 个答案

排名
937
of 297,457

声誉
82

贡献数
1 个提问
23 个回答

回答接受率
100.0%

收到投票数
18

排名
118 of 20,438

声誉
9,799

平均
4.50

贡献数
17 文件

下载次数
168

ALL TIME 下载次数
93927

排名
30,681
of 158,938

贡献数
0 个问题
10 个答案

评分
140

徽章数量
2

贡献数
0 帖子

贡献数
0 公开的 个频道

平均

贡献数
0 个亮点

平均赞数

  • Knowledgeable Level 3
  • Personal Best Downloads Level 4
  • Editor's Pick
  • First Review
  • 5-Star Galaxy Level 5
  • First Submission
  • Thankful Level 1
  • Knowledgeable Level 2
  • First Answer
  • Speed Demon
  • Solver

查看徽章

Feeds

排序方式:

已解决


Vectorize the digits of an Integer
Create a vector of length N for an integer of N digits. x=123045; x_vec=[1 2 3 0 4 5]; I happened upon a trick to do ...

12 years 前

已解决


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

13 years 前

已解决


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

13 years 前

已解决


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

13 years 前

已解决


Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

13 years 前

已解决


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

13 years 前

已解决


Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

13 years 前

已解决


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 years 前

已解决


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

13 years 前

已解决


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

13 years 前