Community Profile

photo

William Worrall


Last seen: circa un anno fa Attivo dal 2021

Followers: 0   Following: 0

Statistiche

  • Introduction to MATLAB Master
  • Solver

Visualizza badge

Feeds

Visto da

Risolto


Product of all elements in an array
Compute the product of all elements in an array.

oltre 2 anni fa

Risolto


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

oltre 2 anni fa

Risolto


Find Out sum of principal diagonal element of given matrix
Find out sum of principal diagonal element of given matrix If A=[1 0 0; 0 1 0;0 0 1], then answer must be 3.

oltre 2 anni fa

Risolto


print 'Hello W0rld'

oltre 2 anni fa

Risolto


Determine the square root
Determine the square root of the value the user has entered, n.

oltre 2 anni fa

Risolto


Find the sum of the largest two elements in a vector
With this one, you have to find the two largest elements in a vector and output the sum of those numbers.

oltre 2 anni fa

Risolto


multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

oltre 2 anni fa

Risolto


F.R.I.E.N.D.S

oltre 2 anni fa

Risolto


print

oltre 2 anni fa

Risolto


area

oltre 2 anni fa

Risolto


Convert yards to feet
The goal of this script is to convert a value given in yards to feet.

oltre 2 anni fa

Risolto


Basics: 'Find the eigenvalues of given matrix
Find the eigenvalues y for a given matrix x.

oltre 2 anni fa

Risolto


Transpose the Matrix
Transpose the given matrix, e.g. x=[a b;c d] transpose of x = [a c;b d]

oltre 2 anni fa

Risolto


square root
Find the square root (y) of an input (x).

oltre 2 anni fa

Risolto


Slope of the line passing through two points
Determine the slope of a line passing through the points a=[x1 y1] and b=[x2 y2].

oltre 2 anni fa

Risolto


Select primes from the matrix.
Select primes from the matrix.

oltre 2 anni fa

Risolto


Sum positive elements of matrix.
Calculate sum of positive elements of the matrix.

oltre 2 anni fa

Risolto


Find sum of negative elements in row.
Find sum of negative elements in row. Example x=[1 -5 3 4 -6 6 7 8 9 10] result = -11

oltre 2 anni fa

Risolto


Who has power to do everything in this world?
There is only one person who is older than this universe. He is Indian version of Chuck Norris.

oltre 2 anni fa

Risolto


Find the product of a Vector
How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?; x = [1 : 0.5 : 6]; y ...

oltre 2 anni fa

Risolto


Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

oltre 2 anni fa

Risolto


length of a vector
Find twice the length of a given vector.

oltre 2 anni fa

Risolto


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

oltre 2 anni fa

Risolto


Calculate the area of a circle
Given a circle of diameter x calculate its area

oltre 2 anni fa

Risolto


find the answer

oltre 2 anni fa

Risolto


Is my wife right?
Regardless of input, output the string 'yes'.

oltre 2 anni fa

Risolto


raise 1/3
Raise a number to 1/3 power.

oltre 2 anni fa

Risolto


Find the sum

oltre 2 anni fa

Risolto


Sum the numbers on the main diagonal
Sum the numbers on the main diagonal of an n-by-n matrix. For input: A = [1 2 4 3 6 2 2 4 7]...

oltre 2 anni fa

Risolto


Matlab Basics II - Free Fall
An object freely falling from rest under gravity covers a distance x given by: x = 1/2 gt^2 write a function that calculat...

oltre 2 anni fa

Carica altro