A résolu


Crunch that matrix!
You are given an M x N matrix. Write a script that will compress this matrix into an M x (N/3) matrix, where each of the terms ...

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

Réponse apportée
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...

environ 5 ans il y a | 0

A résolu


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

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

Réponse apportée
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.

environ 5 ans il y a | 0

Réponse apportée
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); >>...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 5 ans il y a | 0

Problème


Find the Pattern 10

environ 5 ans il y a | 2 | 237 solveurs

Problème


Find the Pattern 9

environ 5 ans il y a | 1 | 195 solveurs

Problème


Find the Pattern 8

environ 5 ans il y a | 2 | 188 solveurs

Problème


Find the Pattern 7

environ 5 ans il y a | 1 | 193 solveurs

Problème


Find the Pattern 6

environ 5 ans il y a | 0 | 182 solveurs

Problème


Find the Pattern 5

environ 5 ans il y a | 0 | 128 solveurs

Problème


Find the Pattern 4

environ 5 ans il y a | 1 | 239 solveurs

Problème


Find the Pattern 3

environ 5 ans il y a | 3 | 244 solveurs

Problème


Find the Pattern 2

environ 5 ans il y a | 3 | 230 solveurs

Problème


Find the Pattern 1

environ 5 ans il y a | 4 | 283 solveurs

Problème


Lateral Area of a Right Rectangular Pyramid

environ 5 ans il y a | 1 | 36 solveurs

Problème


Polygon in a unit circle

environ 5 ans il y a | 1 | 28 solveurs

A résolu


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

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

Charger plus