解決済み


Count me in
Count the number of occurrences of the second input in the first input Ex. x1 = 12344455511; x2 =2; output = 1 ...

5ヶ月 前

解決済み


Find index of a string in a cell array
Write a function that finds the index at which the cell array of strings C contains the exact string S. So if C = {'twe...

5ヶ月 前

解決済み


Solve system of equation!
Given provided system of equation, and find x and y. System of equation can be expressed as each term's coefficient. For exam...

5ヶ月 前

解決済み


All odd - all even
All odd numbers in x are added, while all even numers are subtracted from this. example: x = [1 2 3 4 5]; y = +(1+3+5)-...

5ヶ月 前

解決済み


Mid-term report
You just got your mid-term report, but it's full of ones and twos :(. So before you give it to your parents, you change it, in o...

5ヶ月 前

解決済み


Second smallest number
What is the second smallest number in x? example: x = [1 2 3 4 5 6 7 8 9] y = 2

5ヶ月 前

解決済み


Sideways sum
Given natural number calculate its _population count_.

5ヶ月 前

解決済み


Calculate Simple Intrest for given data
P,N,R stands for Principle amount, No. of years and rate of intrest resp. Calculate intrest I

5ヶ月 前

解決済み


find the height

5ヶ月 前

解決済み


Calculate the volume of the football

5ヶ月 前

解決済み


Array Concatenation (2)
Given two matrices, a and b, concatenate the two matrices vertically, i.e., the number of rows of the result should be equal to ...

5ヶ月 前

解決済み


Row avg

5ヶ月 前

解決済み


Find scalar product of two polynomials a and b, given as vector array.
Find scalar product of two polynomials given as vector array. Example a=[1 -1 2]; b=[2 4 1]; result=0

5ヶ月 前

解決済み


How to get the additive inverse of a uint8.
Given x as a uint8 find the additive inverse y.

5ヶ月 前

解決済み


F.R.I.E.N.D.S

5ヶ月 前

解決済み


Determine if a row vector has NaN
Determine if a row vector x has NaN

5ヶ月 前

解決済み


Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...

5ヶ月 前

解決済み


Cos Function
x is the abscissa. find the absolute value of cosine of -x and the same value with changed sign.

5ヶ月 前

解決済み


Calculating Ring Area
In two-dimensional space, a ring can be constructed by using two concentric circles. Determine the area of a ring which has r1 ...

5ヶ月 前

解決済み


Summation of integers

5ヶ月 前

解決済み


Basic commands - Greatest common divisor
Please write a function, which, will put as output greatest common divisor. Example: A = [-5 17; 10 0];...

5ヶ月 前

解決済み


Union of two set decreasing order
Union of two set decreasing order Say, x=[1 2 5] and y=[5 7 8] then answer must be [8 7 5 2 1]

5ヶ月 前

解決済み


Vertically stack two vectors
Stack two vectors on top of each-other so that... if A = [1 5 3] and B = [8 6 4] then C = [1 5 3 ; 8 6 4]

5ヶ月 前

解決済み


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

5ヶ月 前

解決済み


Find square of given number
Find Square of any number

5ヶ月 前

解決済み


determine amount cookies left
started with 3 cookies and you never ate any how many are left

5ヶ月 前

解決済み


Baseball Pitch Question
One pitcher made 10 practice pitches during his warm up before the game. Using the given information, create a vector matrix an...

5ヶ月 前

解決済み


Matlab Basics II - Free Fall
An object freely falling from rest under gravity covers a distance x given by: x = 1/2 gt^2 write a function that calculat...

5ヶ月 前

解決済み


The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

5ヶ月 前

解決済み


Create a code for XNOR
Given two inputs, output XNOR of those two

5ヶ月 前

さらに読み込む