Feeds
문제를 풀었습니다
Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]
3년 초과 전
문제를 풀었습니다
vectors counting by 5
Create a vector with numbers from x_min to x_max in increments of 5.
3년 초과 전
문제를 풀었습니다
Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.
3년 초과 전
문제를 풀었습니다
01 - Scalar variables
Create the following variables: <<http://samle.dk/STTBDP/Assignment1_1.png>>
3년 초과 전
문제를 풀었습니다
Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.
3년 초과 전
문제를 풀었습니다
Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.
3년 초과 전
문제를 풀었습니다
Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.
3년 초과 전
문제를 풀었습니다
Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...
3년 초과 전
문제를 풀었습니다
Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?
3년 초과 전
문제를 풀었습니다
the average value of the elements
Calculate the average value of the elements in the array
3년 초과 전
문제를 풀었습니다
Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.
3년 초과 전
문제를 풀었습니다
Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.
3년 초과 전
문제를 풀었습니다
Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];
3년 초과 전
문제를 풀었습니다
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,...
3년 초과 전
문제를 풀었습니다
Basics - not so easy division
Please make a function whcih divides x/y, but pay attention for some exceptions with NaN,0,Inf. Sometimes return "ERROR" instead...
3년 초과 전
문제를 풀었습니다
Convert yards to feet
The goal of this script is to convert a value given in yards to feet.
3년 초과 전
문제를 풀었습니다
Determine the square root
Determine the square root of the value the user has entered, n.
3년 초과 전
문제를 풀었습니다
Find my daddy long leg (No 's')
Given the ratio of the two legs (longer / shorter), and the hypotenuse length, find the value of the bigger leg.
3년 초과 전
문제를 풀었습니다
Calculate the area of a triangle between three points
Calculate the area of a triangle between three points: P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) these three points are the vert...
3년 초과 전
문제를 풀었습니다
Identifying teenager
Suppose the age of a person is given. If he/she is a teenage, answer is 'yes'. Otherwise, the answer is 'no'.
3년 초과 전
문제를 풀었습니다
Back to basics 10 - Max Float
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive floating-point number MATLAB can han...
3년 초과 전



