Community Profile

photo

Alex Fordham


Last seen: 約1年 前 2022 年からアクティブ

Followers: 0   Following: 0

統計

  • Promoter
  • Community Group Solver
  • Introduction to MATLAB Master
  • Solver

バッジを表示

Feeds

表示方法

解決済み


Simple Vector Addition
Take two incoming vectors and output the sum of the two vectors

2年弱 前

解決済み


Add 2 Vectors

2年弱 前

解決済み


Sum of 2 numbers
Finds the sum of two numbers

2年弱 前

解決済み


Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not coun...

2年弱 前

解決済み


Symmetry of vector
Determine whether the vector is symmetric or not (vector could be even or odd in length). For example: x = [1 2 3 3 2 1] ...

2年弱 前

解決済み


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

2年弱 前

解決済み


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

2年弱 前

解決済み


Draw 'C'.
Given x as input, generate a x-by-x matrix 'C' using 0 and 1. example: x=4 ans= [0 1 1 1 1 0 0 0 ...

2年弱 前

解決済み


Draw 'J'
Given n as input, generate a n-by-n matrix 'J' using 0 and 1 . Example: n=5 ans= [0 0 0 0 1 0 0 0 0 1 0 0 ...

2年弱 前

解決済み


Draw 'H'
Draw a x-by-x matrix 'H' using 1 and 0. (x is odd and bigger than 2) Example: x=5 ans= [1 0 0 0 1 1 0 0 0 1 ...

2年弱 前

解決済み


Draw 'F'
Draw a x-by-x matrix 'F' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 1 1 0 0 0 0 ...

2年弱 前

解決済み


Draw 'D'.
Draw a x-by-x matrix 'D' using 0 and 1. example: x=4 ans= [1 1 1 0 1 0 0 1 1 0 0 1 1 1 1 0]

2年弱 前

解決済み


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

2年弱 前

解決済み


Converts numbers into characters
Converts numbers into characters

2年弱 前

解決済み


Find the max element of the array
Find the max element of the array

2年弱 前

解決済み


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

2年弱 前

解決済み


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

2年弱 前

解決済み


to the 2 all elements
to the 2 all elements

2年弱 前

解決済み


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

2年弱 前

解決済み


Double all elements in the array
Duplicate all elements in the array

2年弱 前

解決済み


calculate the length of matrix
input 1 array, calculate the length

2年弱 前

解決済み


Draw a 'N'!
Given n as input, generate a n-by-n matrix 'N' using 0 and 1 . Example: n=5 ans= [1 0 0 0 1 1 1 0 0 1 1 0 ...

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年弱 前

解決済み


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年弱 前

解決済み


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

2年弱 前

解決済み


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年弱 前

解決済み


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年弱 前

さらに読み込む