已解决


Pluralization
Define function plu(n) that returns '' (an empty string) if n=1, or 's' otherwise. This is handy for displaying messages from a...

8 days 前

已解决


Initialize a Natural Number matrix.
Given length of matrix initialize a matrix consisting of natural numbers from 1 to n: n = 10; x = [ 1 2 3 4 5 6 7 8 9 10]; ...

8 days 前

已解决


Range of Values in a Matrix
Create a function that accepts a matrix of real numbers as input and returns the range of the values contained in the matrix. Th...

8 days 前

已解决


Juros Compostos
Faça uma função que receba um capital inicial (C), uma taxa de juros a ser aplicada (i) e um tempo (t) para qual será aplicado o...

8 days 前

已解决


Matrix
The fourth problem in Linear Algebra group. Create a matrix like this: 14 7 26 7 8 6 3 0 30

8 days 前

已解决


String Logic 18
Examples: 'DIG' --> 'DG' 'IMPORTANT' --> 'IPRAT' 'DEAL' --> 'DA' 'LIMB' --> 'LM' 'MOSTLY' --> 'MSL'

8 days 前

已解决


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

9 days 前

已解决


Matrix Rotation
Write a MATLAB function that rotates a given matrix by 90 degrees clockwise. The rotation should be performed in-place, without ...

10 days 前

已解决


Test

10 days 前

已解决


Explode string
Break a sentence into cell of words

10 days 前

已解决


Xor of matrix
you have to set exclusive OR of two arrays

10 days 前

已解决


Number Puzzle - 086

10 days 前

已解决


World Cup 2018 Prediction!
Which team will be the winner?

10 days 前

已解决


Calculate Requirement Margin
Engineering requirements often specify a limit, while the actual system performance may be better or worse than that limit. Giv...

10 days 前

已解决


Row Vector
The second problem in Linear Algebra group. Create this vector in MATLAB: [7 8 26]

10 days 前

已解决


Basic Algebra II
You have the equation X^2 = n you should find the value of X. GOOD LUCK!

10 days 前

已解决


Turning radius of a vehicle
The turning radius represents the radius of the circular path followed by a vehicle. Given Wheelbase L and Steering angle δ, Co...

10 days 前

已解决


Find The Area Of Triangle Using Base & Height
You should find the area of the Triangle using base and height. Good Luck!

10 days 前

已解决


Circle Perimeter
Get the perimeter of the Circle by PI.

10 days 前

已解决


Replicate elements in vectors
Replicate each element of a row vector (with NaN) a constant number of times. Examples n=2, A=[1 2 3] -> [1 1 2 2 3 3] n=0...

10 days 前

已解决


Return unique values without sorting
If the input vector A is [42 1 1], the output value B must be the unique values [42 1] The values of B are in the same order a...

10 days 前

已解决


First non-zero element in each column
For a given matrix, calculate the index of the first non-zero element in each column. Assuming a column with all elements zero i...

10 days 前

已解决


intersection of matrices
Given two matrices filled with ones and zeros, determine if they share a common row, column entry. These matrices are of identic...

10 days 前

已解决


Getting the indices from a matrix
Inspired by Problem 645. Getting the indices from a matrix. Given a matrix A (or a vector), return the indices (always in row...

10 days 前

已解决


Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...

10 days 前

已解决


07 - Common functions and indexing 1
Define _cMat_: <<http://samle.dk/STTBDP/Assignment1_3c.png>> ( _cMat_ = 10x10 matrix where the numbers from 1 to 100 runs ...

11 days 前

已解决


02 - Vector Variables 3
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2c.png>> (all the numbers from 5 to -5 in increments of ...

11 days 前

已解决


03 - Matrix Variables 6
Make _fMat_ be a 5x3 matrix of random integers with values from -3 to 3 (Hint: use *randi*)

11 days 前

已解决


03 - Matrix Variables 1
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3a.png>> A 9x9 matrix full of 2's (Hint: use *ones* o...

11 days 前

已解决


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

11 days 前

加载更多