Solved


Number Puzzle - 092

5 years ago

Solved


Number Puzzle - 082

5 years ago

Solved


Number Puzzle - 076

5 years ago

Solved


Number Puzzle - 075

5 years ago

Solved


Number Puzzle - 083

5 years ago

Solved


Number Puzzle - 069

5 years ago

Solved


Number Puzzle - 071

5 years ago

Solved


Number Puzzle - 079

5 years ago

Solved


Number Puzzle - 091

5 years ago

Solved


Number Puzzle - 078

5 years ago

Solved


Number Puzzle - 081

5 years ago

Solved


Number Puzzle - 077

5 years ago

Solved


Minimum Maximum Sort Array
sort one array by put minimum value followed by maximum as follow a=[2 3 1 5] and the solution is y=[1 5 2 3 3 2 5 1];

5 years ago

Solved


Yoonir - 01
Find the area of a five-pointed star inscribed in a circle of radius r.

5 years ago

Question


Link MATLAB Live Editor
How to link code, outputs etc from the MATLAB Live Editor while answering a question on MATLAB Answers? For example -

5 years ago | 1 answer | 0

1

answer

Answered
Calling out from for loop
f = @(n)fibonacci(n) f(6) = 8

5 years ago | 1

| accepted

Answered
Find the first element of a column in a matrix that has a value equal to zero
r=find(A(:,n)==0,1) %A is your m by n matrix after executing the code

5 years ago | 1

| accepted

Solved


Sum Rows
Sum the same indexed (unique) rows. Examine the test suite. Related Challenge - <http://www.mathworks.com/matlabcentral/cody/...

5 years ago

Solved


Digit concentration in Champernowne's constant
Consider the first 50 digits of Champernowne's constant 0.12345678910111213141516171819202122232425262728293... The...

5 years ago

Solved


Polybius Square
Given a string, calculate the coordinates. Input will be always in lowercase. If string is a sentence then use 0 (zero) to indic...

5 years ago

Solved


How many trades represent all the profit?
Given a list of results from trades made: [1 3 -4 2 -1 2 3] We can add them up to see this series of trades made a profit ...

5 years ago

Solved


Replace pattern 0 1 0 and 1 0 1
Find and replace a pattern in a row of zeroes and ones. * Find 1 0 1 and replace it with 1 1 1 * Find 0 1 0 and replace it w...

5 years ago

Solved


Repeat middle rows and columns of an array
Given an MxN numeric array (A), return an array (B) in which the middle rows and columns have each been repeated once. It may be...

5 years ago

Solved


Pascal's triangle
<https://en.wikipedia.org/wiki/Pascal%27s_triangle> if the order is: x = 3; the output will be: output = [0 0 0 1 0 0 ...

5 years ago

Solved


Some tweaks in summation, Can you decode? :)
There are some tweaks in summation that you might observe via test suites Try if you can

5 years ago

Solved


Refresh your system of equations
Given square matrix, and solution vector, find the values of the variables Example: xyz = [1 -1 2; 0 2 5; 4 0 -3]; //x-y+2...

5 years ago

Solved


Integrate Me
Given polynomial, output the integral (with k = 1 for simplicity purposes) Example: input = [2 1] % 2x+1 output = [1 1 1]...

5 years ago

Solved


Recursion at variable input
input of any length a =2 b =2 c =3 output = (a^b)^c = 64

5 years ago

Solved


Clamper Function
Create a function that emulates a clamper circuit Given sin wave, t and the constant value for clamping

5 years ago

Load more