Community Profile # Deb Singdeo

### MathWorks

Last seen: 1 jour ago Active since 2019

#### Statistics

All
• • • • #### Content Feed

View by

Solved

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

environ 2 mois ago

Solved

First N Perfect Squares
*Description* Return the first N perfect squares *Example* input = 4; output = [ 1 4 9 16 ];

environ 2 mois ago

Solved

Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

environ 2 mois ago

Solved

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

environ 2 mois ago

Solved

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

environ 2 mois ago

Solved

Find the logic
There exists one logic in between input and output. Find it (easy math). Example 1: x=13 then y=339; Example 2: x=26...

environ 2 mois 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;...

environ 2 mois ago

Solved

Problem for beginners
Suppose that x is a column vector, with at least a length of 6. Delete the 2., 6., and the second last row. Example: X=[1;2;3...

plus d'un an ago

Solved

Box
Give the volume of a box, x is equal to the body diagonal.

plus d'un an 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 ...

plus d'un an ago

Solved

Mid-term report
You just got your mid-term report, but it's full of ones and twos :(. So before you give it to your parents, you change it, in o...

plus d'un an ago

Solved

Stairs
Make an n by n matrix, where the elements are ones and zeros. In the main diagonal, and under that, there should be only ones (...

plus d'un an ago

Solved

Square
X is a number, write a code, where Y should be the square of X.

plus d'un an ago

Solved

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

plus d'un an ago

Channel

StepCounter

presque 2 ans ago