Resuelto


Divide elements by sum of elements
In this problem, I ask you to write a function which will divide the elements of each column by the sum of the elements of the s...

más de 5 años hace

Respondida
If i have a given Matrix (k x k), how can i expand it to a (n x n) matrix?
It is not clear how the B and C matrices are related to A. However, if you just want to do QR decomposition, you might want to t...

más de 5 años hace | 0

Resuelto


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

más de 5 años hace

Resuelto


Determinant of a 3x3 Matrix
Return the determinant of a 3x3 matrix. The built-in Matlab function det is not allowed.

más de 5 años hace

Resuelto


Create sine function out of cosine
Please don't use sin(x) directly

más de 5 años hace

Resuelto


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

más de 5 años hace

Resuelto


Spot the rectangle
This problem is related to the <http://bit-player.org/2009/the-17x17-challenge 17x17 challenge>. Given a matrix filled with ones...

más de 5 años hace

Resuelto


Fill the Matrix - 2
Input is a column vector and n. n columns will be added to the left of the input column. The first value of the row is the me...

más de 5 años hace

Resuelto


Replace secondary diagonal elements of a square array
Replace all the secondary diagonal elements of the square array A with the number n Example: A = [1 2 3 4 5 6 ...

más de 5 años hace

Resuelto


Fill the matrix - 1
Input is a column vector and n. n columns will be added to the left of the input column. The first value of the row is the s...

más de 5 años hace

Respondida
Plotting Two Sets of Data on 2 X Axes and 1 Y Axis
To avoid overlap of the two x-axis, you might want to use 'top' for 'XAxisLocation' for ax2.

más de 5 años hace | 0

Respondida
How can I change the colour of specific bars in a bar graph
You can create a handle on the graph and replace the properties accordingly. Here is an example. >> x=[1:10]; >> b=bar(x); >>...

más de 5 años hace | 0

| aceptada

Respondida
function with two inputs.
The code you have now already has the information you needed. However, you have not printed out the results yet. You need to mo...

más de 5 años hace | 0

Problema


Find the Pattern 10

más de 5 años hace | 2 | 258 solvers

Problema


Find the Pattern 9

más de 5 años hace | 1 | 216 solvers

Problema


Find the Pattern 8

más de 5 años hace | 2 | 210 solvers

Problema


Find the Pattern 7

más de 5 años hace | 1 | 215 solvers

Problema


Find the Pattern 6

más de 5 años hace | 0 | 203 solvers

Problema


Find the Pattern 5

más de 5 años hace | 0 | 149 solvers

Problema


Find the Pattern 4

más de 5 años hace | 2 | 261 solvers

Problema


Find the Pattern 3

más de 5 años hace | 3 | 268 solvers

Problema


Find the Pattern 2

más de 5 años hace | 4 | 253 solvers

Problema


Find the Pattern 1

más de 5 años hace | 4 | 310 solvers

Problema


Lateral Area of a Right Rectangular Pyramid

más de 5 años hace | 1 | 37 solvers

Problema


Polygon in a unit circle

más de 5 años hace | 1 | 30 solvers

Resuelto


Remove element(s) from cell array
You can easily remove an element (or a column in any dimension) from a normal matrix, but assigning that value (or range) empty....

más de 5 años hace

Resuelto


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

más de 5 años hace

Resuelto


Find the next Fibonacci number
In the sequence of Fibonacci numbers, every number is the sum of the two preceding ones: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55...

más de 5 años hace

Resuelto


Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

más de 5 años hace

Resuelto


Solve a System of Linear Equations
*Example*: If a system of linear equations in _x&#8321_ and _x&#8322_ is: 2 _x&#8321;_ + _x&#8322;_ = 2 _x&#8321;...

más de 5 años hace

Cargar más