photo

Alireza Shourangiz Haghighi


Shiraz University of Technology

Last seen: más de 4 años hace Con actividad desde 2015

Followers: 0   Following: 0

Mensaje

Estadística

All
  • First Review
  • 5-Star Galaxy Level 2
  • First Submission
  • Solver

Ver insignias

Feeds

Ver por

Resuelto


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

casi 6 años hace

Resuelto


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

casi 6 años hace

Resuelto


Add two numbers
Given a and b, return the sum a+b in c.

casi 6 años hace

Resuelto


Create a vector whose elements depend on the previous element
The idea is to create a vector A whose elements depend on the previous element : *A(i+1) = 2*A(i)+1* *2 Inputs*: - A : The...

alrededor de 8 años hace

Resuelto


The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

alrededor de 8 años hace

Resuelto


Reverse a matrix
Its simple. You have to reverse a given matrix.

alrededor de 8 años hace

Resuelto


Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

alrededor de 8 años hace

Resuelto


Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

alrededor de 8 años hace

Resuelto


Complex number
For complex number c=a+bi, write code that will add a and b together.

alrededor de 8 años hace

Resuelto


Negative matrix
Change the sign of all elements in given matrix.

alrededor de 8 años hace

Resuelto


Min of a Matrix
Return the minimum value in the given matrix.

alrededor de 8 años hace

Resuelto


kmph to mps
convert kilometer per hour to meter per second

alrededor de 8 años hace

Resuelto


Nth root.
* Assign outValues with the nth root of the inValues, the root is specified by rootValue

alrededor de 8 años hace

Resuelto


03 - Matrix Variables 4
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3d.png>> A 3x4 NaN (Not a Number) matrix (Hint: use ...

alrededor de 8 años hace

Resuelto


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

alrededor de 8 años hace

Resuelto


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

alrededor de 8 años hace

Resuelto


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

alrededor de 8 años hace

Resuelto


Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...

alrededor de 8 años hace

Resuelto


only input
Return the output without writing any code into the function.

alrededor de 8 años hace

Resuelto


Construct an array
* Construct an row array named observedValues with elements sensorReading1, sensorReading2, and sensorReading3.

alrededor de 8 años hace

Resuelto


Project Euler: Problem 6, Natural numbers, squares and sums.
The sum of the squares of the first ten natural numbers is, 1^2 + 2^2 + ... + 10^2 = 385 The square of the sum of the first ...

alrededor de 8 años hace

Resuelto


Declaring a string
* Assign streetAddress with the string 1313 Mockingbird Lane.

alrededor de 8 años hace

Resuelto


Duplicate each element of a vector.
for an n-dimensional vector x, the function should return another vector 2n-dimension which each element is repeated twice. Ex...

alrededor de 8 años hace

Resuelto


Solving Quadratic Equations (Version 1)
Quadratic equations have the form: ax^2 + bx + c = 0. Example: x^2 + 3x + 2 = 0, where a = 1, b = 3, and c = 2. The equation has...

alrededor de 8 años hace

Resuelto


pressure to dB?
given x ratio of pressure, find corresponding y dB

alrededor de 8 años hace

Resuelto


Multi-line comments
* Fix the syntax errors.

alrededor de 8 años hace

Resuelto


Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product

alrededor de 8 años hace

Resuelto


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

alrededor de 8 años hace

Resuelto


Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];

alrededor de 8 años hace

Resuelto


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

alrededor de 8 años hace

Cargar más