문제를 풀었습니다


Hankelize a matrix
Similar to <http://www.mathworks.com/matlabcentral/cody/problems/42501-toeplitize-a-matrix Problem 42501. Toeplitize a matrix>, ...

10년 초과 전

문제를 풀었습니다


Toeplitize a matrix
Similar to <http://www.mathworks.com/matlabcentral/cody/problems/3094-hankelize-a-matrix Problem 3094. Hankelize a matrix>, now ...

10년 초과 전

문제를 풀었습니다


Remove All elements less than 5
Given an input vector x, remove all elements of x less than 5 . Example: Input x = [ 1 2 5 7 3 ] Output y is [ 5 7 ...

10년 초과 전

문제를 풀었습니다


Sum my indices
Given inputs M and N (in that order), output an MxN matrix whose entries are equal to the sum of their indices. Example input...

10년 초과 전

문제를 풀었습니다


To convolve two vectors
To convolve two vectors

10년 초과 전

문제를 풀었습니다


string comparision
compare two strings if both are same return 1 else return 0

10년 초과 전

문제를 풀었습니다


Delete blanks at the end of string
you got to delete all blank spaces which appears at the end of string

10년 초과 전

문제를 풀었습니다


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

10년 초과 전

문제를 풀었습니다


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

10년 초과 전

문제를 풀었습니다


volume of torus
Find volume of torus with a as major radius and b as minor

10년 초과 전

문제를 풀었습니다


Find minimum and maximum elements of an array
For a given array find minimum and maximum elements of an array and store minimum value in first index of output and maximum in ...

10년 초과 전

문제를 풀었습니다


Calculate volume of box
Calculate the volume of box,hiven its sides

10년 초과 전

문제를 풀었습니다


find whether it is prime or not
For a given number find if its prime

10년 초과 전

문제를 풀었습니다


Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

10년 초과 전

문제를 풀었습니다


Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

10년 초과 전

문제를 풀었습니다


Array resizing: Removing elements
* Remove elements 2, 4, and 6 from row array pendingTasks

10년 초과 전

문제를 풀었습니다


Moving target
Write a function with persistent variables currentLocationX and currentLocationY that store an object's location. Each call to t...

10년 초과 전

문제를 풀었습니다


Constructing column arrays
* Construct a column array elevatorStops with values 2, 4, 5, 9, and 10

10년 초과 전

문제를 풀었습니다


Linear-spaced points array
* Construct a row array plotPoints with 5 values that are spaced linearly from lowValue to highValue. Ex: If lowValue is 1 and ...

10년 초과 전

문제를 풀었습니다


Concatenating arrays
* Assign studentIDs with concatenated row arrays groupA and groupB

10년 초과 전

문제를 풀었습니다


Find smallest number to leave a remainder of 1
given a vector of numbers, find the smallest number to be divisible by all of them with a remainder of 1. Note: input numbers wi...

10년 초과 전

문제를 풀었습니다


Moore-Penrose pseudoinverse of matrix
Find the command for Moore-Penrose pseudoinverse of matrix and solve

10년 초과 전

문제를 풀었습니다


UICBioE240 problem 1.3
Find the length of a vector. So if A = [1 1 1 1 1] Then B = 5

10년 초과 전

문제를 풀었습니다


UICBioE240 problem 1.4
So if A = [ 1 2 3; 4 5 6; 7 8 9] B = [ 3 3]

10년 초과 전

문제를 풀었습니다


UICBioE240 problem 1.5
Find the size of the matrix, then multiply both values by 10 and make it into a column vector. So if A = [ 1 2 3; ...

10년 초과 전

문제를 풀었습니다


UICBioE240 problem 1.7
Find the other two angles of a right triangle given the two of the sides. So if A = [1 1] B = [45 45]

10년 초과 전

문제를 풀었습니다


UICBioE240 problem 1.6
Find the tangent line of a right triangle given the two of the sides. So if A = [1 1] B = sqrt(2)

10년 초과 전

문제를 풀었습니다


UICBioE240 problem 1.8
Given a list of grades in a class, write a script that gives the 2nd highest grade in the class and the average for the class. ...

10년 초과 전

문제를 풀었습니다


UICBioE240 problem 1.9
Swap the first and last columns of a matrix. So if A = [12 4 7; 5 1 4]; B = [7 4 12; 4 1 5]; ...

10년 초과 전

문제를 풀었습니다


UICBioE240 problem 1.10
Find the number of cells in a bioreactor after a given time when doubling time is dd and initial number of cells is x. So if ...

10년 초과 전

더 보기