已解决


Rotate counterclockwise a matrix 90 deg with left-bottom element
Example: Input [ 1 2 3 4 5 6 ] Output [ 3 6 2 5 1 4 ]

9 years 前

已解决


Replace values under a limit
For a vector x and number n, the goal is to find every element of x inferior to n and replace it by n. Example x= [ 1 2 3...

9 years 前

已解决


Create a square matrix of zeros of even order
Create a square matrix of zeros of even order

9 years 前

已解决


Variable_Addition
be able to add any variable to the number one

9 years 前

已解决


Hydrogens in a Saturated Hydrocarbon
Given (c) carbon atoms in a saturated hydrocarbon molecule (all single bonds), how many hydrogen atoms (h) are in the molecule?

9 years 前

已解决


Matrix Construction I
Given n, construct a matrix as shown in the example below. Example For n=8, the output should look like this: 1 2 3 4 ...

9 years 前

已解决


Bruh
Return 'bruh'.

9 years 前

已解决


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. So if input x is x = [1 2 3 5] then the output y should be 11.

9 years 前

已解决


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. So if input x is x = [1 2 3 5] then the output y should be 11.

9 years 前

已解决


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. So if input x is x = [1 2 3 5] then the output y should be 11.

9 years 前

已解决


A quadrant matrix
Write a function called quadrants that takes as its input argument a scalar integer named n. The function returns Q, a 2n-by-2n ...

9 years 前

已解决


De-primed
Write a function that will multiply every prime number in the array or matrix by two, leaving all other numbers the same, and re...

9 years 前

已解决


Evened up (or not)
You will be provided with an array or matrix that contains various numbers, in addition to an evening variable, e, set to 1 or 0...

9 years 前

已解决


Write a function man that takes a row vector v and returns a matrix H as follows..
Write a function called man that takes a row vector v as an input and returns a matrix H whose first column consist of the eleme...

9 years 前

已解决


given number is power of n or not?
Check weather The input is power of n or not? for example x=8,n=2 --> true x=6,n=2 --> false

9 years 前

已解决


Accessing value of variable whose name is stored in another variable as string.
Accessing value of variable whose name is stored in another variable as string. for example: var1=n; var2='var1'; %Assigning...

9 years 前

已解决


Min by mean
Substitute the minimum value in each row of a matrix A by the mean of that row (it should also work if the input is a vector)

9 years 前

已解决


Square a Number
Given an input x, return y, which is equal to the square of x.

9 years 前

已解决


Average valid values of arrays
Given a 1D array (column or row vector), compute the average of valid values. Valid values are defined via two thresholds: minVa...

9 years 前

已解决


Append two vectors
MATLAB allows you to append vectors together to create new vectors.

9 years 前

已解决


Find relation between x and y.
if 1 = 2 2 = 9 3 = 28 How is x related with y?

9 years 前

已解决


Cost computation and Display
Given a positive number of pens, a cost is computed and displayed. One Pen costs 1.99 dollars

9 years 前

已解决


calculate Simple Interest
SI=(principal*time*rate)/100

9 years 前

已解决


Calculate SImple Interest
SI=P*T*R

9 years 前

已解决


Was ist denn los?
Nur für deutschsprechende Leute! Wie geht's? ...also gut, bis bald!

9 years 前

已解决


Normalize by maximum
Subtract the maximum value in a column from the corresponding columns of a matrix.

9 years 前

已解决


Conversion from hours to mili sec
Convert given input in hours to mili seconds

9 years 前

已解决


The Python Challenge, Level 1: Decode strings
This problem is based on <http://www.pythonchallenge.com/pc/def/map.html Level 1 of The Python Challenge>, which is just a serie...

9 years 前

已解决


Repeat The Components of Matrix
Repeat The components of a matrix so that the size of the output matrix is double to input matrix and components are repeated ne...

9 years 前

已解决


Don't Try, give up and return NaN.
This is another version of <http://www.mathworks.com/matlabcentral/cody/problems/3107-try-and-catch-simple-example problem 3107....

9 years 前

加载更多