문제를 풀었습니다


find the roots of a quadratic equation
for e.g x = [ 2 -1 -3] y = [1.5 -1]

7년 초과 전

문제를 풀었습니다


Simple date to serial no. conversion
Convert a date string to a serial date number. For example if you take x='19-May-2001' then the result is 730990 x...

7년 초과 전

답변 있음
Making an RGB image
use *uint8* in the place of *im2uint8*;

7년 초과 전 | 0

문제를 풀었습니다


Remove the Zero
Given an array n, remove all zeros

7년 초과 전

문제를 풀었습니다


Health app
A health app records a user's weight and displays the change in weight from the previous measurement to the next. Assign weightC...

7년 초과 전

문제를 풀었습니다


Sum function: Counting cookies
Row array troopCookieSales contains the number of boxes of cookies sold by each troop member. Assign totalSales with the sum of ...

7년 초과 전

문제를 풀었습니다


square number
Square a number

7년 초과 전

문제를 풀었습니다


Determine the mean of matrix
Determine the mean of matrix without using mean function Hint: use simple algorithm

7년 초과 전

문제를 풀었습니다


How many monitors are connected ?
How to obtain the numbers of monitors connected to your computer ?

7년 초과 전

문제를 풀었습니다


Sum of odd numbers in a matrix
Find the sum of all the odd numbers in a matrix. Example x = [2 3 5 7 1 4 11] y = 27

7년 초과 전

문제를 풀었습니다


Finding values in arrays
Assign numMatches with the number of elements in userValues that equal matchValue. Ex: If matchValue = 2 and userVals = [2, ...

7년 초과 전

문제를 풀었습니다


Back to basics - mean of corner elements of a matrix
Calculate the mean of corner elements of a matrix. e.g. a=[1 2 3; 4 5 6; 7 8 9;] Mean = (1+3+7+9)/4 = 5

7년 초과 전

문제를 풀었습니다


If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

7년 초과 전

문제를 풀었습니다


Writing a function: MaxValue()
Write a local function named MaxValue that returns the maximum of two inputs numA and numB.

7년 초과 전

문제를 풀었습니다


Convert Fahrenheit to Celsius
Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...

7년 초과 전

문제를 풀었습니다


Equality check: Number of bricks
Write an if statement that assigns deliveryComplete with 1 if bricksDelivered is equal to bricksExpected.

7년 초과 전

문제를 풀었습니다


Perfect Square or not
find Given input x is perfect square or not,if yes then output y=1.else y=0

7년 초과 전

문제를 풀었습니다


Change the sign of even index entries of the reversed vector
change the signs of the even index entries of the reversed vector example 1 vec = [4 -1 -2 9] ans = [9 2 -1 -4] example2...

7년 초과 전

문제를 풀었습니다


For loops: Odds sum
Write a for loop that assigns summedValue with the sum of all odd values from 1 to userNum. Assume userNume is always greater th...

7년 초과 전

문제를 풀었습니다


Duplicate a character
Duplicate a character 'n' times. Example 1: str='a' n=5 output='aaaaa' Example 2: str='*' n=3 output='***'

7년 초과 전

문제를 풀었습니다


Basic arrays operations.
Apply element-by-element binary operation 'fun' to two arrays (A and B).

7년 초과 전

문제를 풀었습니다


matrix of natural number
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 resides seially as shown in the examples below. ...

7년 초과 전

문제를 풀었습니다


Matlab Basics - Convert a row vector to a column vector
Write a script to convert a row (e.g. x = [1 2 3]) to a column (e.g. y = [1;2;3]), your script should be able to do this for any...

7년 초과 전

문제를 풀었습니다


Building matrices
If you have matrix A, create matrix B using matrix A as an "element" A = [1 2 3 4; 5 6 7 8...

7년 초과 전

문제를 풀었습니다


Array resizing: Removing elements
* Remove elements 2, 4, and 6 from row array pendingTasks

7년 초과 전

문제를 풀었습니다


Integer indexing array: Shift left
Write a *single* statement that shifts row array attendanceValues one position to the left. The rightmost element in attendanceV...

7년 초과 전

문제를 풀었습니다


Double colon operator: Counting up
* Construct a row array countValues from 1 to endValue, using the double colon operator. Ex: If endValue is 5, countValues s...

7년 초과 전

문제를 풀었습니다


Rotate a Matrix
Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise

7년 초과 전

문제를 풀었습니다


Comments
* Fix the syntax errors.

7년 초과 전

문제를 풀었습니다


Indexing the last element: Print queue
* Delete the last element of row array printQueue.

7년 초과 전

더 보기