photo

Tushal Desai

MathWorks

Last seen: Today Active since 2016

Followers: 0   Following: 0

Message

A MathWorker

Statistics

All
  • Treasure Hunt Participant
  • Knowledgeable Level 1
  • Quiz Master
  • MATLAB Central Treasure Hunt Finisher
  • First Answer
  • Introduction to MATLAB Master
  • Creator
  • Promoter
  • Scavenger Finisher
  • Solver

View badges

Feeds

View by

Solved


Back to basics 14 - Keywords
Covering some basic topics I haven't seen elsewhere on Cody. Return a cell array of all MATLAB keywords

ungefär 3 år ago

Solved


The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

ungefär 3 år ago

Solved


Calculate BMI
Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...

nästan 4 år ago

Solved


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

nästan 4 år ago

Solved


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

nästan 4 år ago

Solved


Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

nästan 4 år ago

Solved


Count photos
Given n people, everyone must have pictures taken with everyone, each photo includes only two persons, please count the total nu...

mer än 5 år ago

Solved


Count ones
Write a program to count number of ones (1s) in an integer variable input. For example: Input x=2200112231 output y=3 I...

mer än 5 år ago

Solved


Make one big string out of two smaller strings
If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...

mer än 5 år ago

Solved


Derivative of polynomial
Compute the derivative of a given polynomial. The input is an <http://www.mathworks.com/help/matlab/math/representing-polynomial...

mer än 5 år ago

Solved


Without the French accent please!
Suppress the French accent. Example 'Déjà présent' -> 'Deja present'

mer än 5 år ago

Solved


sinus function
x is the abscissa. find the absolute value of cosine of -x and the same value with changed sign.

mer än 5 år ago

Solved


Sunday bonus
Submit a solution on any Sunday and you will get 10 points. Only for MATLAB fans!

mer än 5 år ago

Solved


surface of a spherical planet
you just discovered its circumference, that is the input.

mer än 5 år ago

Solved


Love triangles
Given a vector of lengths [a b c], determines whether a triangle with non-zero area (in two-dimensional Euclidean space, smarty!...

mer än 5 år ago

Solved


Complex number
For complex number c=a+bi, write code that will add a and b together.

mer än 5 år ago

Solved


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

mer än 5 år ago

Solved


Basic arrays operations.
Apply element-by-element binary operation 'fun' to two arrays (A and B).

mer än 5 år ago

Solved


Rounding
Round 10.67 and make 'y' equal to that number.

mer än 5 år ago

Solved


02 - Vector Variables 5
_eVec_ = _Hello_ ( _eVec_ is a string, which is a vector of characters )

mer än 5 år ago

Solved


reverse string
input='rama' output='amar'

mer än 5 år ago

Solved


What's Your BMI?
Find the body mass index. For reference, please refer to Wikipedia here: <http://en.wikipedia.org/wiki/Body_mass_index body ...

mer än 5 år ago

Solved


Back to basics 11 - Max Integer
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive integer MATLAB can handle.

nästan 6 år ago

Solved


Reverse a matrix
Its simple. You have to reverse a given matrix.

nästan 6 år ago

Solved


Flip the bit
Given an input character string (e.g. '1001'), return a character string with the bits flipped ('0110').

nästan 6 år ago

Solved


Create a two dimensional zero matrix
You have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros. Exam...

nästan 6 år ago

Solved


Binary Coder
Take an input number and print the binary value of this number.

nästan 6 år ago

Solved


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

nästan 6 år ago

Solved


Counting Sequence
Given a vector x, find the "counting sequence" y. A counting sequence is formed by "counting" the entries in a given sequence...

nästan 6 år ago

Solved


square root
Find the square root (y) of an input (x).

nästan 6 år ago

Load more