Community Profile

# Marco Tullio

Last seen: environ 2 mois il y a Actif depuis 2013

..

All

#### Content Feed

Afficher par

A résolu

Where the Four Corners Am I?
The "Four Corners" region of the US is where Colorado, Utah, Arizona, and New Mexico all meet - the only place where four states...

environ 2 mois il y a

A résolu

Write a function that takes N as the input, and outputs a matrix whose upper-left (NxN) quadrant contains all ones, the lower-ri...

environ 2 mois il y a

A résolu

Sum of integers numbers
Sum of the numbers from 1 to 100

2 mois il y a

A résolu

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

2 mois il y a

A résolu

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

environ un an il y a

A résolu

Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

presque 2 ans il y a

A résolu

Orthonormal matrix
You decide whether any given matrix is an orthonormal matrix or not. If each column in a matrix is perpendicular to the other...

presque 2 ans il y a

A résolu

Create an array from 1 to x in steps of 1.

presque 2 ans il y a

A résolu

Determine if input is a valid AHP evaluation matrix
Input is a matrix. Output is a true or false statement (1 or 0). Return true if input is a valid Analytic Hierarchy Process eval...

presque 2 ans il y a

A résolu

Nilpotent matrix
Check if matrix A is <http://mathworks.com/ nilpotent>.

presque 2 ans il y a

A résolu

Distance walked 2D
Suppose you go from x-y coordinates [3,4] to [0,0] to [0,1] to [1,1], then you walked 7 units of distance.

presque 2 ans il y a

A résolu

Count from 0 to N^M in base N.
Return an array of numbers which (effectively) count from 0 to N^M-1 in base N. The result should be returned in a matrix, with ...

presque 2 ans il y a

A résolu

Deriving a function using the difference quotient
Write a function that evaluates the derivative of a function in a given point using the well-know formula of the difference quot...

presque 2 ans il y a

A résolu

find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

presque 2 ans il y a

A résolu

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

presque 2 ans il y a

A résolu

Summy's odd sum

presque 2 ans il y a

A résolu

Summy's even sum

presque 2 ans il y a

A résolu

Is this matrix orthogonal?
Given a square matrix, a, determine whether it is orthogonal. INPUT: a, a n x n matrix OUTPUT: true or false

presque 2 ans il y a

A résolu

Find state names that end with the letter A
Given a list of US states, remove all the states that end with the letter A. Example: Input s1 = 'Alabama Montana Nebras...

environ 2 ans il y a

A résolu

Encode Roman Numerals
Create a function taking a non-negative integer as its parameter and returning a string containing the Roman Numeral representat...

environ 2 ans il y a

A résolu

Get the area codes from a list of phone numbers
Given a string of text with phone numbers in it, return a unique'd cell array of strings that are the area codes. s = '508-6...

environ 2 ans il y a

A résolu

Given input in degrees, output to radians

environ 2 ans il y a

A résolu

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

environ 2 ans il y a

A résolu

Replace Nonzero Numbers with 1
Given the matrix x, return the matrix y with non zero elements replaced with 1. Example: Input x = [ 1 2 0 0 0 ...

environ 2 ans il y a

A résolu

Given a list of US states, remove all the states that start with the letter N. If s1 = 'Alabama Montana Nebraska Vermont Ne...

environ 2 ans il y a

A résolu

MATCH THE STRINGS (2 CHAR) very easy
Match the given string based on first two characters on each string. For example A='harsa'; b='harish'; result '1' ...

environ 2 ans il y a

A résolu

What number has this problem?
This problem is added because it is problem number *???* in the "Community" problems section. <http://www.mathworks.de/matlab...

environ 2 ans il y a

A résolu

Area of rhombus
Calculate the rhombus area

environ 2 ans il y a

A résolu

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 ans il y a

A résolu

Create sequnce 1 4 9 16 25.........
Create sequnce 1 4 9 16 25......... upto entered input value using matlab scripting commands. Let y be output and x be input

environ 2 ans il y a