Gelöst


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

mehr als ein Jahr vor

Gelöst


Basics: counting digits of a number irrespective of the sign
publish the number of digits in any input integer example: -23---->2

mehr als ein Jahr vor

Gelöst


Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product

mehr als ein Jahr vor

Gelöst


Calculate the square of a number (Super Easy)
The goal is to calculate the square (y) of a number (x). Good way to start MatLab for beginners.

mehr als ein Jahr vor

Gelöst


Matlab Basics II - Operations and Matrix Dimensions
Write a function that takes two inputs, a & b, and outputs the sum and product of the two matrices. The matrices have OPPOSITE d...

mehr als ein Jahr vor

Gelöst


Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

mehr als ein Jahr vor

Gelöst


Simple String Concatenation
This is a simple problem involving taking two incoming strings, and outputting the concatenated string with a space separating t...

mehr als ein Jahr vor

Gelöst


Double the length of the vector

mehr als ein Jahr vor

Gelöst


MATLAB Basics: Complex Numbers
For a given complex number, x, return the real and imaginary parts as a vector, y = [Real Imaginary].

mehr als ein Jahr vor

Gelöst


Find the binary code
Given a sinusoidal signal, create a function that returns the binary code of a quantized value. The function takes the bit lengt...

mehr als ein Jahr vor

Gelöst


Matrix Generation from Vector Multiplication
Output the matrix generated from multiplying two vectors together

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


Sum two matrices
Take two incoming matrices, and sum them

mehr als ein Jahr vor

Gelöst


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

mehr als ein Jahr vor

Gelöst


Arrange vector in ascending order
Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];

mehr als ein Jahr vor

Gelöst


Back to basics 15 - classes
Covering some basic topics I haven't seen elsewhere on Cody. Return the class of the input variable.

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


Basic commands - Greatest common divisor
Please write a function, which, will put as output greatest common divisor. Example: A = [-5 17; 10 0];...

mehr als ein Jahr vor

Gelöst


Find the summation, mean, median, mode and standard deviation of a given array.
An array is given. Find out the summation, mean, median, mode and standard deviation of a given array. If x=[1,2,2,3,3,3,4,4,4,...

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


The great 82-year-old
Let's answer the question below; 'I am *x* years old and I have never written programs. If I study from now, will I be able ...

mehr als ein Jahr vor

Gelöst


Let's make puddings !
We will make puddings with eggs, milk and sugar. To make one pudding, we need one egg, 140(cc) of milk, 15 (g) of sugar. Now W...

mehr als ein Jahr vor

Gelöst


cube of number
find cube of number

mehr als ein Jahr vor

Gelöst


Watt
Ampere x Volt = Watt

mehr als ein Jahr vor

Gelöst


Polygon Interior Angle Sum
Given the number of sides of a regular polygon, find the sum of interior angles. Return 0 for input for which regular polygon a...

mehr als ein Jahr vor

Gelöst


Resizing Matrices
Take an 4x3 matrix, and resize it to a 2x6 matrix

mehr als ein Jahr vor

Gelöst


Radians to Degrees
Convert radians to degrees.

mehr als ein Jahr vor

Mehr laden