A résolu


construct matrix with identical rows
Input a row vector such as x=1:10. Now we need to construct a matrix with L rows,of which every row vector is a copy of x. E...

10 mois il y a

A résolu


modulus of a number
find the modulus of a given number

10 mois il y a

A résolu


Remove white space from the string
Remove the white spaces (trailing and leading) from the input variable

10 mois il y a

A résolu


Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1. Change matrix to vector. x = 4 3 5 1 ...

10 mois il y a

A résolu


Finding an element in a vector
x is a vector of unknown length your function should return the index of the first element in the vector that is greater than...

10 mois il y a

A résolu


Remove a specific row with max value
Remove the row that contain the max value in the matrix? If you like the problem, please like it :)

10 mois il y a

A résolu


Energy Conversion 2

10 mois il y a

A résolu


Energy Conversion 1

10 mois il y a

A résolu


Area Conversion 2

10 mois il y a

A résolu


Area Conversion 1

10 mois il y a

A résolu


Mass Conversion 2

10 mois il y a

A résolu


surrounded matrix
With a given matrix A (size m x n) create a matrix B (size m+2 x n+2) so that the matrix A is surrounded by ones: A = [1 2 ...

10 mois il y a

A résolu


subtract central cross
Given an n-by-n square matrix, where n is an odd number, return the matrix without the central row and the central column.

10 mois il y a

A résolu


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

10 mois il y a

A résolu


letter yes yes & letter no no
Split a string into two strings, wherein the first string has all alphabetic letters and the second string has all the remaining...

10 mois il y a

A résolu


What is the distance from point P(x,y) to the line Ax + By + C = 0?
Given a point, P(x,y), find the distance from this point to a linear line. INPUTS: x, y, A, B, C OUTPUTS: d, the distance ...

10 mois il y a

A résolu


Angle between Two Vectors
The dot product relationship, a dot b = | a | | b | cos(theta), can be used to determine the acute angle between vector a and ve...

10 mois il y a

A résolu


Calculate the mean of each half of a matrix
Given a matrix with an even number of columns, n, return a 1-by-2 row vector where the first element is the mean of all the elem...

10 mois il y a

A résolu


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

10 mois il y a

A résolu


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

10 mois il y a

A résolu


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

10 mois il y a

A résolu


Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.

10 mois il y a

A résolu


Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

10 mois il y a

A résolu


Find out sum of all elements of given Matrix
Find out sum of all elements of given Matrix A=[1 2 3;4 5 6 ;7 8 9]; Answer must be: 45 *If you like this problem, pl...

10 mois il y a

A résolu


find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

10 mois il y a

A résolu


y equals x divided by 2
function y = x/2

10 mois il y a

A résolu


Temperature conversion
Convert temperature in degrees Celsius (C) to temperature in degrees Kelvin (K). Assume your answer is rounded to the nearest Ke...

10 mois il y a

A résolu


Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area

10 mois il y a

A résolu


Spherical Volume
Calculate the volume of a sphere.

10 mois il y a

A résolu


find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y

10 mois il y a

Charger plus