解決済み


Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

2ヶ月 前

解決済み


Simple equation: Annual salary
Given an hourly wage, compute an annual salary

2ヶ月 前

解決済み


Matlab Basics II - Count rows in a matrix
Write a function that returns that number of rows in a vector or matrix x example: x = [1; 2; 3] output = 3

2ヶ月 前

解決済み


Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...

2ヶ月 前

解決済み


Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

2ヶ月 前

解決済み


Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

2ヶ月 前

解決済み


Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. http://en.wikipedia.org/wiki/Whole_numb...

2ヶ月 前

解決済み


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

2ヶ月 前

解決済み


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

2ヶ月 前

解決済み


0<=x<=pi?
Check whether the given angle is between zero and pi. Return logical true or false.

3ヶ月 前

解決済み


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

3ヶ月 前

解決済み


Compare two strings.
Compare two strings, whether they are equal or not.

3ヶ月 前

解決済み


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

3ヶ月 前

解決済み


Do you like your boss?
Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...

3ヶ月 前

解決済み


Convert yards to feet
The goal of this script is to convert a value given in yards to feet.

3ヶ月 前

解決済み


kmph to mps
convert kilometer per hour to meter per second

3ヶ月 前

解決済み


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

3ヶ月 前

解決済み


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

3ヶ月 前

解決済み


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

3ヶ月 前

解決済み


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

3ヶ月 前

解決済み


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

3ヶ月 前

解決済み


Title
Make a plot for x and add title "My Plot". NOTICE: YOU CAN NOT USE ans INSTEAD OF [y ax]!

3ヶ月 前

問題


Title
Make a plot for x and add title "My Plot". NOTICE: YOU CAN NOT USE ans INSTEAD OF [y ax]!

3ヶ月 前 | 0 | 14 個のソルバー

解決済み


Plot
Make a plot of the vector x. NOTICE: YOU CAN NOT USE ans INSTEAD OF y!

3ヶ月 前

問題


Plot
Make a plot of the vector x. NOTICE: YOU CAN NOT USE ans INSTEAD OF y!

3ヶ月 前 | 0 | 16 個のソルバー

解決済み


Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

3ヶ月 前

解決済み


Matlab Basics - Rounding I
Write a script to round x DOWN to the next lowest integer: e.g. x = 2.3 --> x = 2 also: x = 2.7 --> x = 2

3ヶ月 前

解決済み


Rotate matrix by -90 degrees
Rotate a Matrix by -90 degrees Example: X = 1 2 3 4 5 6 7 8 9 output = 7 4 ...

3ヶ月 前

解決済み


first element of matrix
find the first elements of a column matrix

3ヶ月 前

解決済み


Sum the squares of numbers from 1 to n
For a given value of n return the sum of square of numbers from 1 to n. Example For n = 2 then sum of squares = 5 (1^2 + ...

3ヶ月 前

さらに読み込む