Feeds
已解决
Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...
5 years 前
已解决
Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...
5 years 前
已解决
Determine the mean of matrix
Determine the mean of matrix without using mean function Hint: use simple algorithm
5 years 前
已解决
Matlab Basics - y as a function of x
Write a function to calculate y as a function of x, such that y = 6x^2 + 5x - 2
5 years 前
已解决
Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.
5 years 前
已解决
Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.
5 years 前
已解决
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 ...
5 years 前
已解决
Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]
5 years 前
已解决
Matlab Basics - Rounding I
Write a script to round x DOWN to the next lowest integer: e.g. x = 2.3 --> x = 2 also: x = 2.7 --> x = 2
5 years 前
已解决
Matlab Basics II - squares
Write a function that takes matrix A, and squares each element in the matrix example: A = [1 2 3] output = [1 4 9]
5 years 前
已解决
Back to basics 17 - white space
Covering some basic topics I haven't seen elsewhere on Cody. Remove the trailing white spaces from the input variable
5 years 前
已解决
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 ...
5 years 前
已解决
Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.
5 years 前
已解决
Determine the length of a string of characters
Determine the length of a string of characters
5 years 前
已解决
Delete blanks at the end of string
you got to delete all blank spaces which appears at the end of string
5 years 前

