Gautam Vallabha

MathWorks

Active since 2011

Followers: 0   Following: 0

Message

Statistics

All
MATLAB Answers

1 Question
23 Answers

File Exchange

17 Files

Cody

0 Problems
10 Solutions

RANK
955
of 299 168

REPUTATION
82

CONTRIBUTIONS
1 Question
23 Answers

ANSWER ACCEPTANCE
100.0%

VOTES RECEIVED
18

RANK
119 of 20 660

REPUTATION
9 841

AVERAGE RATING
4.50

CONTRIBUTIONS
17 Files

DOWNLOADS
96

ALL TIME DOWNLOADS
94351

RANK
31 697
of 163 577

CONTRIBUTIONS
0 Problems
10 Solutions

SCORE
140

NUMBER OF BADGES
2

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • 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

View badges

Feeds

View by

Solved


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

nästan 13 år ago

Solved


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

mer än 13 år ago

Solved


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

mer än 13 år ago

Solved


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

mer än 13 år ago

Solved


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

mer än 13 år ago

Solved


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

mer än 13 år ago

Solved


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

mer än 13 år ago

Solved


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

mer än 13 år ago

Solved


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

mer än 13 år ago

Solved


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

mer än 13 år ago