Community Profile

# hang

Last seen: 3ヶ月 前 2020 以来アクティブ

バッジを表示

#### Content Feed

Nth root
Nth root of a number x

3ヶ月 前

String Array Basics, Part 1: Convert Cell Array to String Array; No Missing Values
<http://www.mathworks.com/help/matlab/characters-and-strings.html String array> and cell array are two types of containers for s...

6ヶ月 前

Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

MATLAB Basics: Complex Argument
For a given complex number, x, return the argument, y, in degrees.

MATLAB Basics: Complex Conjugates
For a given complex number, x, return the complex conjugate, y.

Vector creation using colon operator
Create a vector y containing n uniformly spaced values between a and b, with a < b. Use the colon (:) operator.

Create a cell array out of a struct
Create a cell array out of a (single) struct with the fieldname in the first column and the value in the second column: in: ...

MATLAB Basics: Complex Numbers
For a given complex number, x, return the real and imaginary parts as a vector, y = [Real Imaginary].

Factorial

area

size

Return multiples of 3

Real

find the height

Sum of terms in a series 2 (★★★)

Stacking vectors into a matrix
Given a 4x1 vector a, and a 2x2 matrix b, create a matrix M in which the first 2 rows are each identical to a and the last two r...

Matrix convolution
A certain convolution step involves an elementwise multipication between two 3x3 matrices and taking the resulting sum of the el...

Matrix Indexing
Given a matrix A and scalars r,c,i, find the product of two elements, with the first element located at row r and column c (doub...

Generate the Matrix!
Given n, generate the following matrix: a = [ n n-1 n-2 ... 2 1; n-1 n-1 n-2 ... 2 1; n-2 n-2 n-2 ... 2 1;...

Power supply: 230V to 115V
The problem is simple: we have a wall outlet which supplies 230V and an apparatus that requires 115V. Software is always chea...

Sum of series IX

1年以上 前

Sum of series VIII

1年以上 前

Approximation of Pi
Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given numbe...

1年以上 前

convert binary string to vector!!!

1年以上 前

convert I

1年以上 前

Return area of square
Side of square=input=a Area=output=b

1年以上 前

eukleides triangle

1年以上 前

Sum of series VII
What is the sum of the following sequence: Σ(km^k)/(k+m)! for k=1...n for different n and m?

1年以上 前

area of a sphere

1年以上 前