Community Profile

photo

Assia


Last seen: 18日 前 2024 年からアクティブ

Followers: 0   Following: 0

統計

  • Leader
  • Creator
  • Community Group Solver
  • Commenter
  • Introduction to MATLAB Master
  • Promoter
  • Solver

バッジを表示

Feeds

表示方法

解決済み


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

2ヶ月 前

解決済み


Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

2ヶ月 前

解決済み


Creating a matrix by taking shifted copies of a given vector v as columns
This problem is the same as the problem 761 except that here we are testing it for any given vector ; a row or column vector. Th...

2ヶ月 前

問題


Creating a matrix by taking shifted copies of a given vector v as columns
This problem is the same as the problem 761 except that here we are testing it for any given vector ; a row or column vector. Th...

2ヶ月 前 | 1 | 7 個のソルバー

解決済み


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

2ヶ月 前

解決済み


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

2ヶ月 前

解決済み


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

2ヶ月 前

解決済み


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

2ヶ月 前

解決済み


Create a vector
Create a vector from 0 to n by intervals of 2.

2ヶ月 前

解決済み


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

2ヶ月 前

解決済み


Find max
Find the maximum value of a given vector or matrix.

2ヶ月 前

解決済み


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

2ヶ月 前

解決済み


Inner product of two vectors
Find the inner product of two vectors.

2ヶ月 前

解決済み


Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

2ヶ月 前

解決済み


"mirror" matrix
Create n x 2n "mirror" matrix of this type: Examples For n = 2 m = [ 1 2 2 1 1 2 2 1 ] For n = 3 m = ...

2ヶ月 前

解決済み


Mirror Image matrix across anti-diagonal
Given an input number x, create a mirror image matrix 'Y' across the anti-diagonal. For example, if x=3, Y = [1 2 3; ...

2ヶ月 前

解決済み


Create a matrix X, where each column is a shifted copy of the vector v
Example : in->v = (1:5)'; 1 2 3 4 5 out-> [1 5 4 3 2;2 1 5 4 3;3 2 1 5 4;4 3 2 1 5;5 4 3 ...

2ヶ月 前

解決済み


Special matrix
Make a square matrix with this shape. For n=4 M = 1 1 0 0 1 0 1 0 0 1 0 ...

2ヶ月 前

解決済み


Symmetric matrix
You must create a n-by-n *symmetric* matrix such that A(row,col) = row/col for col >= row. Example if n =3 : output is : ...

2ヶ月 前

解決済み


Create a Multiplication table matrix...
Create a product table in this format: P = [ 1 2 3 4 5; 2 4 6 8 10; 3 6 9 12 15; 4 8 12 1...

2ヶ月 前

解決済み


Pascal's Matrix
Given an integer n &ge; 0, generate the ( _n_+1) &times; ( _n_+1) lower triangular <http://en.wikipedia.org/wiki/Pascal_matrix P...

2ヶ月 前

解決済み


Given n, create n random numbers such that their standard deviation is also n.
Given n, create n random numbers such that their standard deviation is also n.

2ヶ月 前

解決済み


Generate a random matrix A of (1,-1)
Input n: is an positive integer which serves as the dimension of the matrix A; Output: A=(Aij),where each entry Aij is either...

2ヶ月 前

解決済み


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

2ヶ月 前

解決済み


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

2ヶ月 前

解決済み


Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

2ヶ月 前

解決済み


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

2ヶ月 前

解決済み


Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

2ヶ月 前

解決済み


Return the first and last characters of a character array
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

2ヶ月 前

解決済み


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

2ヶ月 前

さらに読み込む