문제를 풀었습니다


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

11개월 전

문제를 풀었습니다


Area of rhombus
Calculate the rhombus area

11개월 전

문제를 풀었습니다


Program an exclusive OR operation with logical operators
Program an exclusive or operation *without* using the MATLAB function xor. Use logical operators like |, &, ~, ... instead. ...

11개월 전

문제를 풀었습니다


only input
Return the output without writing any code into the function.

11개월 전

문제를 풀었습니다


The Answer to Life, the Universe, and Everything
A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...

11개월 전

문제를 풀었습니다


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

11개월 전

문제를 풀었습니다


Square a Number
Given an input x, return y, which is equal to the square of x.

11개월 전

문제를 풀었습니다


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

11개월 전

문제를 풀었습니다


Spherical Volume
Calculate the volume of a sphere.

11개월 전

문제를 풀었습니다


Division
Given two numbers a and b divide them a/b

11개월 전

문제를 풀었습니다


Linear system of equations
Solve the system of equations in three variables.

11개월 전

문제를 풀었습니다


linear least squares fitting
Inputs: * |f|: cell-array of function handles * |x|: column vector of |x| values * |y|: column vector of |y| values, same l...

11개월 전

문제를 풀었습니다


Find the sum of the elements in the "second" diagonal
Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.

11개월 전

문제를 풀었습니다


Implement a ROT13 cipher
Replace each character in string s1 with the character that is shifted 13 positions from it (wrap back to the beginning if neces...

11개월 전

문제를 풀었습니다


Find out missing number from a vector of 9 elements
You are given a vector of size 9, x = [x1 x2 x3 x4 x5 x6 x7 x8 x9] Elements of x may be randomly selected without repeati...

11개월 전

문제를 풀었습니다


Counting Sequence
Given a vector x, find the "counting sequence" y. A counting sequence is formed by "counting" the entries in a given sequence...

11개월 전

문제를 풀었습니다


Laws of motion 1

11개월 전

문제를 풀었습니다


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

11개월 전

문제를 풀었습니다


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

11개월 전

문제를 풀었습니다


Find Logic 13

11개월 전

문제를 풀었습니다


Potential energy calculation

11개월 전

문제를 풀었습니다


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

11개월 전

문제를 풀었습니다


factorial of a number x
Factorial of a number x

11개월 전

문제를 풀었습니다


Binary Coder
Take an input number and print the binary value of this number.

11개월 전

문제를 풀었습니다


Find out sum and carry of Binary adder
Find out sum and carry of a binary adder if previous carry is given with two bits (x and y) for addition. Examples Previo...

11개월 전

문제를 풀었습니다


Find Air Temperature from Cricket Stridulation Rate
Stridulation is the process that creates a cricket's “chirp” by rubbing their wings or legs. According to the Old Farmer's Alma...

11개월 전

문제를 풀었습니다


Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...

11개월 전

문제를 풀었습니다


sum of non-primes
The sum of the non-primes no larger than 10 is 1+4+6+8+9+10=38 Find the sum of all the positive non-prime integers that do no...

11개월 전

문제를 풀었습니다


subtract central cross
Given an n-by-n square matrix, where n is an odd number, return the matrix without the central row and the central column.

11개월 전

문제를 풀었습니다


Nilpotent matrix
Check if matrix A is <http://mathworks.com/ nilpotent>.

11개월 전

더 보기