Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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)

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


Add two numbers
Add two numbers (For beginners)

quasi 10 anni fa

Risolto


prime test
find largest 2 digit prime number

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Carica altro