Community Profile

photo

Ravi


Last seen: ongeveer een jaar 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...

meer dan een jaar 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'

meer dan een jaar 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.

meer dan een jaar 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...

meer dan een jaar ago

Solved


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

meer dan een jaar 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...

meer dan een jaar 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...

meer dan een jaar 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....

meer dan een jaar 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,...

meer dan een jaar 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 = ...

meer dan een jaar ago

Solved


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

meer dan een jaar 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.

meer dan een jaar 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...

meer dan een jaar 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 ...

meer dan een jaar 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...

meer dan een jaar 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...

meer dan een jaar 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;...

meer dan een jaar ago

Solved


Converts numbers into characters
Converts numbers into characters

meer dan een jaar ago

Solved


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

meer dan een jaar ago

Solved


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

meer dan een jaar ago

Solved


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

meer dan een jaar ago

Solved


to the 2 all elements
to the 2 all elements

meer dan een jaar ago

Solved


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

meer dan een jaar ago

Solved


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

meer dan een jaar ago

Solved


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

meer dan een jaar ago

Solved


Draw a '0' in a one matrix!

meer dan een jaar ago

Solved


Energy Conversion 2

meer dan een jaar ago

Solved


Energy Conversion 1

meer dan een jaar ago

Solved


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

meer dan een jaar ago

Solved


Area Conversion 2

meer dan een jaar ago

Load more