解決済み


02 - Vector Variables 5
_eVec_ = _Hello_ ( _eVec_ is a string, which is a vector of characters )

7年以上 前

解決済み


Remove the positive integers.
Given array,x, remove all the positive numbers and display ouput as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

7年以上 前

解決済み


How many monitors are connected ?
How to obtain the numbers of monitors connected to your computer ?

7年以上 前

解決済み


Calculate distance travelled when given radius and rotations
When given radius of wheel and number of rotations calculate total distance travelled consider pi=3.14

7年以上 前

解決済み


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

7年以上 前

解決済み


select the primes of a vector
Find the prime numbers in a vector

7年以上 前

解決済み


Deleting an element in a matrix
For vector Grades=[98 56 78 34 100 88 87], delete the number 78 to get the following matrix Grades=[98 56 34 100 88 87] **re...

7年以上 前

解決済み


Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

7年以上 前

解決済み


Equal to their cube
Tell me three real numbers that are equal to their cubes?

7年以上 前

解決済み


07 - Common functions and indexing 6
Create a variable _m_ as a magic square with the size 6 x 6 Magic squares are defined as square matrices, where the sum of a...

7年以上 前

解決済み


Output any real number that is neither positive nor negative
Output any real number that is neither positive nor negative

7年以上 前

解決済み


Rounding
Round 10.67 and make 'y' equal to that number.

7年以上 前

解決済み


What number has this problem?
This problem is added because it is problem number *???* in the "Community" problems section. <http://www.mathworks.de/matlab...

7年以上 前

解決済み


Interpolate scattered data.
Most data was scattered, and there is no gird. There are three data [c] in three different area [x,y]. x=[1 3 4]; y=[1 ...

7年以上 前

解決済み


Calculate numerical integration.
x=0:0.01:1 y=x.^2 Calculate area from x=0 to x=1, and y=0 to y=x^2 using numerical integration. (hint: trapz)

7年以上 前

解決済み


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area.

7年以上 前

解決済み


multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

7年以上 前

解決済み


y equals x divided by 2
function y = x/2

7年以上 前

解決済み


Remainder
Make 'y' equal to the remainder of 27 divided by 5. When x=27 and t=5

7年以上 前

解決済み


Complex number
For complex number c=a+bi, write code that will add a and b together.

7年以上 前

解決済み


Add two numbers
Add two numbers (For beginners)

7年以上 前

解決済み


prime test
find largest 2 digit prime number

7年以上 前

解決済み


Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input ...

7年以上 前

解決済み


Rotate a Matrix
Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise

7年以上 前

解決済み


how to find eigen values of given matrix?
how to find eigen values of given matrix?

7年以上 前

解決済み


Find remainder when x is divided by 3
Find remainder when x is divided by 3

7年以上 前

解決済み


Times 3 problem
When you enter the number, it should return the number multiplied by 3

7年以上 前

解決済み


Multiply by 3
Given the variable x as your input, multiply it by three and put the result in y.

7年以上 前

解決済み


Convert Miles To Kilometers
Given input in miles, output into kilometers

7年以上 前

さらに読み込む