Risolto


02 - Vector Variables 2
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2b.png>>

quasi 10 anni fa

Risolto


Count photos
Given n people, everyone must have pictures taken with everyone, each photo includes only two persons, please count the total nu...

quasi 10 anni fa

Risolto


Skip by a multiple
Given an integer create an array of its multiples. Array must have a length of 15

quasi 10 anni fa

Risolto


Summation of array
Given an array, Find the sum of all of the elements in it Examples: Input x = [1 2 3 5; 4 5 6 7]; Output y is 33

quasi 10 anni fa

Risolto


Matlab Basics II - Velocity of a particle
A particle is moving in space, such that it's velocity is given by: <<http://s30.postimg.org/5rf1xtvj5/cody1.png>> write a...

quasi 10 anni fa

Risolto


Calculate square and cube of number
Calculate square and cube of number x

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


prime test 2
enter the only non prime,non composite number

quasi 10 anni fa

Risolto


Celsius to Kelvin
Degrees Celsius = Kelvin - 273.15

quasi 10 anni fa

Risolto


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

quasi 10 anni fa

Risolto


Sum of the Multiplication of Vectors
Given the vectors x and y as input, multiply the vectors and return the summation of its elements. Example: x = [1 2 ...

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

quasi 10 anni fa

Risolto


square root
Find the square root (y) of an input (x).

quasi 10 anni fa

Risolto


Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

quasi 10 anni fa

Risolto


Saving MATLAB session to a file
How to save MATLAB session to a file?

quasi 10 anni fa

Risolto


prime test
find largest 2 digit prime number

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


What is Sum Of all elements of Matrix
Given the matrix x, return the sum of all elements of matrix. Example: Input x = [ 1 2 0 0 0 0 6 9 3 3 ] ...

quasi 10 anni fa

Risolto


Close MATLAB with keyboard
Close MATLAB with keyboard without using mouse

quasi 10 anni fa

Risolto


square number
Square a number

quasi 10 anni fa

Risolto


Determine the square root
Determine the square root of the value the user has entered, n.

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


Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

quasi 10 anni fa

Risolto


Sum of series V
What is the sum of the following sequence: Σk(k+1) for k=1...n for different n?

quasi 10 anni fa

Risolto


metre to feet converter
The idea is to make a converter, which exchange meters to feets. We use a factor of 1m = 3.281*1f. so 3m are equals to 9.843 m...

quasi 10 anni fa

Risolto


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

quasi 10 anni fa

Risolto


Test Problem; Create a 5x5 array containing all ones
This is a test for learning the process of creating a Cody problem. The goal of this test problem will be to create an array,...

quasi 10 anni fa

Risolto


ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
MATLABでは,角括弧の中に要素を入れることで、ベクトルを作成できる。 x = [1 2 3 4] また次のようにも書ける(コンマはオプション)。 x = [1, 2, 3, 4] 問題:次のベクトルを出力する関数を作成せよ。...

quasi 10 anni fa

Risolto


Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

quasi 10 anni fa

Carica altro