Statistics
RANK
4 590
of 294 560
REPUTATION
10
CONTRIBUTIONS
0 Questions
4 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
3
RANK
1 857 of 20 123
REPUTATION
974
AVERAGE RATING
5.00
CONTRIBUTIONS
14 Files
DOWNLOADS
45
ALL TIME DOWNLOADS
2769
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Solved
Freebies anyone? No!!!!
Feel free to copy paste all the tests and voila you solved the problem
nästan 8 år ago
Problem
Calculate solution of given polynomial
For example, y=function([3 -2 -4]) In here, input vector indicate 3*x^2-2*x-4, y is solution of former equation. y=[1.5...
nästan 8 år ago | 2 | 87 solvers
Problem
Print true if
all elements are larger than 5 a=[1 3 5 8 6]; b=[6 6 6 6 6]; function(a) should be false, and function(b) will be tru...
nästan 8 år ago | 4 | 146 solvers
Problem
Solve the system of linear equations
4x - 2y +6z=8 2x + 8y +2z=4 6x + 10y +3z=0 Find x,y,z. Output should be a=[x;y;z].
ungefär 8 år ago | 5 | 74 solvers
Problem
Save variables
a=[1] Save variable a that is located in workspace into current folder. File name should be 'a.mat'
ungefär 8 år ago | 4 | 80 solvers
Problem
Change matrix to vector2
From x = 4 3 5 1 5 1 To y = 4 3 5 1 ...
ungefär 8 år ago | 6 | 112 solvers
Problem
Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1. Change matrix to vector. x = 4 3 5 1 ...
ungefär 8 år ago | 7 | 190 solvers
Problem
How to calculate log?
There is a log that have base 5. How to calculate? log5(x)?
ungefär 8 år ago | 11 | 177 solvers
Problem
Calculate some equation
Using given inputs x and z, make two outputs that are y1=(xz)/(x/z)^2+14x^2-0.8z^2 y2=x^z-z^x+(x/z)^2-(z/x)^2
ungefär 8 år ago | 7 | 155 solvers
Problem
Calculate inverse matrix in m by n matrix
x=(1:10)' y=roundn(2*x+7*rand(size(x)),-1) a*x=y Estimate a using inverse matrix calculation. This is principle of li...
ungefär 8 år ago | 5 | 84 solvers
Problem
Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area.
ungefär 8 år ago | 17 | 1774 solvers
Solved
Additive persistence
Inspired by Problem 2008 created by Ziko. In mathematics, the persistence of a number is the *number of times* one must apply...
ungefär 8 år ago
Solved
Polynomial division
Divide a polynomial u by polynomial v and return the quotients only. Example: u = x^4+3*x^3+5*x+3 v = x^2+1 Answer: ...
ungefär 8 år ago
Solved
Accessing elements on the diagonal
Access the diagonal elements of a matrix without 'diag' function
ungefär 8 år ago
Solved
Remove NaNs and numbers adjacent to NaNs
The aim is to remove the elements before and after NaN occurrences inside a vector. For example: x = [6 10 5 8 9 NaN 23 1...
ungefär 8 år ago
Solved
Calculate the nth Fibonacci number USING 'Golden Ratio' concept
f = [1 1 2 3 5 8 13 ...] If n=6, f(6)=8
ungefär 8 år ago
Solved
Solving a quadratic equation
Given a, b and c, Return the solution of the following quadratic equation: a*x^2 + b*x + c = 0.
ungefär 8 år ago
Solved
Weave two vectors into one
Weave the two given vectors into one as shown below. Example: If a = [1 1 1] b = [0 0 0] then y = [1 0 1 0 ...
ungefär 8 år ago
Solved
Calculate the integral of the polynomial
for e.g. in = [3 2 1] out = [1 1 1 0]
ungefär 8 år 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...
ungefär 8 år ago
Solved
Evaluate Polynomial
Given a polynomial equation coefficients in a vector p, you have to return its value at x. Example: For inputs p and x ...
ungefär 8 år ago
Solved
Convert a Cell Array into an Array
Given a square cell array: x = {'01', '56'; '234', '789'}; return a single character array: y = '0123456789'
ungefär 8 år ago
Solved
Sum the real and imaginary parts of a complex number
Sum the real and imaginary parts of a complex number. Example c = 1+2i has the solution 1 + 2 = 3
ungefär 8 år ago
Solved
Find the maximum two numbers of every column of a matrix
Find the maximum two numbers of every column of a matrix. Example: If we input a matrix A = [ 1 2 4 6 0 3 ...
ungefär 8 år ago
Problem
Calculate numerical integration.
x=0:0.01:1 y=x.^2 Calculate area from x=0 to x=1, and y=0 to y=x^2 using numerical integration. (hint: trapz)
ungefär 8 år ago | 6 | 55 solvers