Community Profile

photo

Ravi


Last seen: 3 days ago Active since 2013

Model Based Developer Professional Interests: Simulink, Stateflow, Simulink V&V, MATLAB Programming

Statistics

All
  • Cody 10th Anniversary 10-Day Streak
  • Introduction to MATLAB Master
  • CUP Challenge Master
  • Community Group Solver
  • Personal Best Downloads Level 1
  • First Submission
  • Knowledgeable Level 1
  • First Answer
  • Revival Level 1
  • Renowned
  • Commenter
  • Solver

View badges

Content Feed

View by

Solved


Find Air Temperature from Cricket Stridulation Rate
Stridulation is the process that creates a cricket's “chirp” by rubbing their wings or legs. According to the Old Farmer's Alma...

2 months ago

Solved


Convert a Cell Array into an Array
Given a square cell array: x = {'01', '56'; '234', '789'}; return a single character array: y = '0123456789'

2 months ago

Solved


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

2 months ago

Solved


Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

2 months ago

Solved


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

2 months ago

Solved


Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

2 months ago

Solved


Return the first and last characters of a character array
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

2 months ago

Solved


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

2 months ago

Solved


Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

2 months ago

Solved


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

2 months ago

Solved


Return area of square
Side of square=input=a Area=output=b

2 months ago

Solved


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

2 months ago

Solved


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2 3 3 3 4...

2 months ago

Solved


Days until next NewYear ball drop
Given a date string in the form 'yyyy-mm-dd' or 'yyyy-mm-dd hh:mm:ss', calculate the number of *days* until the dropping of the ...

2 months ago

Solved


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

2 months ago

Solved


Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

2 months ago

Solved


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

2 months ago

Solved


Converts numbers into characters
Converts numbers into characters

2 months ago

Solved


Find the max element of the array
Find the max element of the array

2 months ago

Solved


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

2 months ago

Solved


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

2 months ago

Solved


to the 2 all elements
to the 2 all elements

2 months ago

Solved


the average value of the elements
Calculate the average value of the elements in the array

2 months ago

Solved


Double all elements in the array
Duplicate all elements in the array

2 months ago

Solved


calculate the length of matrix
input 1 array, calculate the length

2 months ago

Solved


Draw a '0' in a one matrix!

2 months ago

Solved


Energy Conversion 2

2 months ago

Solved


Energy Conversion 1

2 months ago

Solved


Velocity Conversion
Given a velocity in mph, convert it to km/h. Round the answer to the fourth decimal place.

2 months ago

Solved


Area Conversion 2

2 months ago

Load more