Community Profile

photo

Alex Fordham


Last seen: alrededor de 1 año hace Con actividad desde 2022

Estadísticas

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

Ver insignias

Content Feed

Ver por

Resuelto


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

casi 2 años hace

Resuelto


Add 2 Vectors

casi 2 años hace

Resuelto


Sum of 2 numbers
Finds the sum of two numbers

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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]

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


Converts numbers into characters
Converts numbers into characters

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


to the 2 all elements
to the 2 all elements

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

Cargar más