A résolu

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

plus d'un an il y a

A résolu

04 - Scalar Equations 1
Define the variable a: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> Use this to calculate x: <<http://samle.dk/STTBD...

plus d'un an il y a

A résolu

03 - Matrix Variables 3
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3c.png>> A 10x10 matrix where the numbers from 1 to 100 ...

plus d'un an il y a

A résolu

03 - Matrix Variables 2
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3b.png>> A 9x9 matrix of zeros, but with the following v...

plus d'un an il y a

A résolu

03 - Matrix Variables 5
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3e.png>>

plus d'un an il y a

A résolu

03 - Matrix Variables 4
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3d.png>> A 3x4 NaN (Not a Number) matrix (Hint: use ...

plus d'un an il y a

A résolu

03 - Matrix Variables 6
Make _fMat_ be a 5x3 matrix of random integers with values from -3 to 3 (Hint: use *randi*)

plus d'un an il y a

A résolu

Array of Ones
Create a 100 X 100 array of ones.

plus d'un an il y a

A résolu

02 - Vector Variables 3
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2c.png>> (all the numbers from 5 to -5 in increments of ...

plus d'un an il y a

A résolu

01 - Scalar variables
Create the following variables: <<http://samle.dk/STTBDP/Assignment1_1.png>>

plus d'un an il y a

A résolu

Sum all integers from 1 to 2^x
Given a number x, your function must return the summation of all integers from 1 to 2^x.

plus d'un an il y a

A résolu

Vector Multiplication
Vector Multiplication of three matrix as shown in test cases.

plus d'un an il y a

A résolu

Determine the number of odd integers in a vector
Determine the number of unique odd integers in a vector. Examples: Input x = [2 5 8 3 7 1]; Output y = 4; Inp...

plus d'un an il y a

A résolu

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

plus d'un an il y a

A résolu

BASICS - sum part of vector
Please make a function, where as input you get vector "x" and and vector "c", where in "c" vector you get indexes to sum. Examp...

plus d'un an il y a

A résolu

cross in array
Make a cross from "1" in odd size array. Other value from array should be equal to "0"; As input you get length of side of arra...

plus d'un an il y a

A résolu

Integer or Float?
Test an input to see whether it is an integer or a floating point number. If it is an integer return 1 for 'true'. Otherwise ret...

plus d'un an il y a

A résolu

Golden ratio
Calculate the golden ratio. Hint: phi^2 = phi + 1.

plus d'un an il y a

A résolu

Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1. Change matrix to vector. x = 4 3 5 1 ...

plus d'un an il y a

A résolu

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

plus d'un an il y a

A résolu

Create sequnce 1 4 9 16 25.........
Create sequnce 1 4 9 16 25......... upto entered input value using matlab scripting commands. Let y be output and x be input

plus d'un an il y a

A résolu

Replace Vector Elements
Replace all elements in a vector which are equal to or smaller than zero with 0.1. Example: A = [1 2 3 -1 0 2 -3 -80]; ...

plus d'un an il y a

A résolu

Basics: 'Find the eigenvalues of given matrix
Find the eigenvalues y for a given matrix x.

plus d'un an il y a

A résolu

Box!
Given a box, find the volume of the cube. With each side = a.

plus d'un an il y a

A résolu

matlab indian players
answer is one of the indian matlab player(just for fun dont take serious)

plus d'un an il y a

A résolu

Draw the flag of United Kingdom from 0 and 1.
Draw the flag of United Kingdom using 0 and 1. Exam: output n = 5 input y = [ 0 0 1 0 0 0 0 ...

plus d'un an il y a

A résolu

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

plus d'un an il y a

A résolu

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

plus d'un an il y a

A résolu

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

plus d'un an il y a

A résolu

What percentage?
Calculate the output c as the percentage of a on b for given a and b.

plus d'un an il y a