
Lucas Macedo da Silva
Followers: 0 Following: 0
Don't give up!
Statistics
0 Problems
297 Solutions
RANK
N/A
of 298.204
REPUTATION
N/A
CONTRIBUTIONS
0 Questions
0 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
0
RANK
of 20.548
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
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...
meer dan 3 jaar ago
Solved
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 ...
meer dan 4 jaar ago
Solved
Calculate the derivative of a polynomial
Example: in = [ 1 1 1 ] out = [ 2 1 ]
meer dan 4 jaar ago
Solved
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...
meer dan 4 jaar ago
Solved
Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.
meer dan 4 jaar ago
Solved
Skip by a multiple
Given an integer create an array of its multiples. Array must have a length of 15
meer dan 4 jaar ago
Solved
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...
meer dan 4 jaar ago
Solved
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
meer dan 4 jaar ago
Solved
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].
meer dan 4 jaar ago
Solved
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
meer dan 4 jaar ago
Solved
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 ...
meer dan 4 jaar ago
Solved
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 ...
meer dan 4 jaar ago
Solved
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 ...
meer dan 4 jaar ago
Solved
Add a row of zeros on top of a matrix
Given a matrix, insert a row of zeros as the top row.
meer dan 4 jaar ago
Solved
Square root of a number
Write a code that will output the square root of x.
meer dan 4 jaar ago
Solved
Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250
meer dan 4 jaar ago
Solved
Find the area of the four walls
If length, breadth and height of the walls are given, find the area of the four walls.
meer dan 4 jaar ago
Solved
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...
meer dan 4 jaar ago
Solved
Square Diagonal
If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.
meer dan 4 jaar 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...
meer dan 4 jaar ago
Solved
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 ...
meer dan 4 jaar ago
Solved
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 ...
meer dan 4 jaar ago
Solved
Create vector as shown in test cases
Create vector as shown in test cases
meer dan 4 jaar ago