Community Profile

photo

Lucas Macedo da Silva


Last seen: Today
296 2020 年以降の合計貢献数

Lucas Macedo da Silva's バッジ

  • CUP Challenge Master
  • Introduction to MATLAB Master
  • Community Group Solver
  • Promoter
  • Solver

詳細を表示...

貢献した分野
表示方法

解決済み


Matrix for beginners
Multiply x and y elemwise.

10日 前

解決済み


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

10日 前

解決済み


Convert degrees to radians
Given input in degrees, output to radians

10日 前

解決済み


Calculate the derivative of a polynomial
Example: in = [ 1 1 1 ] out = [ 2 1 ]

10日 前

解決済み


Matlab Basics - Switching Assignments
Switch assignments for variables x and y, for example start with x = 1 and y = 3 end with y = 1 and x = 3 Do NOT simply r...

10日 前

解決済み


Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.

10日 前

解決済み


Skip by a multiple
Given an integer create an array of its multiples. Array must have a length of 15

11日 前

解決済み


Append two matrix as shown below example
Append two matrix as shown below example A=[1 2; 3 4] and B=[5 6;7 8] Answer must be 1 2 5 6 3...

11日 前

解決済み


Find the Nth Root of a Given Number
Find the Nth root of a given number x. Examples x = 4096 n = 4 y = 8 x = 625 n = 5 y = 3.6239

11日 前

解決済み


Remove the positive integers.
Given array,x, remove all the positive numbers and display ouput as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

11日 前

解決済み


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

11日 前

解決済み


Matlab Basics II - Max & Index of Max
Write a function that takes a vector x, then returns both the max value in x and its location in the vector for example x ...

12日 前

解決済み


Draw 'O' !
Given n as input, generate a n-by-n matrix 'O' using 0 and 1 . example: n=4 ans= [1 1 1 1 1 0 0 1 ...

12日 前

解決済み


Draw a 'Z'.
Given _n_ as input, generate a n-by-n matrix like 'Z' by _0_ and _1_ . Example: n=5 ans= [1 1 1 1 1 0 0 0 1 ...

12日 前

解決済み


Add a row of zeros on top of a matrix
Given a matrix, insert a row of zeros as the top row.

12日 前

解決済み


Square root of a number
Write a code that will output the square root of x.

12日 前

解決済み


Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

13日 前

解決済み


Find the area of the four walls
If length, breadth and height of the walls are given, find the area of the four walls.

13日 前

解決済み


Find out magnitude of vector
Find out magnitude of vector. Say x=[1 2 3], then answer must sqrt(1^2+2^2+3^2) Please don't use sum function. If you l...

13日 前

解決済み


Square Diagonal
If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.

13日 前

解決済み


Your favourite city!
Type your favourite city.

13日 前

解決済み


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

13日 前

解決済み


Sum of the Multiplication of Vectors
Given the vectors x and y as input, multiply the vectors and return the summation of its elements. Example: x = [1 2 ...

15日 前

解決済み


Is My Wife Wrong?
Answer the question. (see also <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right Problem 149: Is my ...

15日 前

解決済み


Area of a disk
Find the area of a disk or circle. x= radius of the disk.

15日 前

解決済み


Create vector as shown in test cases
Create vector as shown in test cases

15日 前

解決済み


Compute LOG(1+X) in natural log
Compute LOG(1+X) in natural log

15日 前

解決済み


Box!
Given a box, find the volume of the cube. With each side = a.

18日 前

解決済み


Calculate volume of box
Calculate the volume of box,hiven its sides

18日 前

解決済み


Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

18日 前

Load more