문제를 풀었습니다


to the 2 all elements
to the 2 all elements

대략 2년 전

문제를 풀었습니다


the average value of the elements
Calculate the average value of the elements in the array

대략 2년 전

문제를 풀었습니다


Double all elements in the array
Duplicate all elements in the array

대략 2년 전

문제를 풀었습니다


calculate the length of matrix
input 1 array, calculate the length

대략 2년 전

문제를 풀었습니다


Draw a '0' in a one matrix!

대략 2년 전

문제를 풀었습니다


Current through resistor
Three resistors (R2, R3, R4) are connected in parallel as shown in the figure. If this combination is connected in series with ...

대략 2년 전

문제를 풀었습니다


Calculate Parallel Resistance
Three resistors connected in parallel have resistances R1, R 2, and R 3, respectively. Return the total resistance R total of ...

대략 2년 전

문제를 풀었습니다


Resistance of a light bulb
The current through two identical light bulbs connected in series is C Amperes. The total voltage across both bulbs is V Volts....

대략 2년 전

문제를 풀었습니다


Electrical Diode Current Calculation
In engineering, there is not always a single equation that describes a phenomenon accurately enough to be applied in all instanc...

대략 2년 전

문제를 풀었습니다


An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

대략 2년 전

문제를 풀었습니다


Potential energy calculation

대략 2년 전

문제를 풀었습니다


Velocity Conversion
Given a velocity in mph, convert it to km/h. Round the answer to the fourth decimal place.

대략 2년 전

문제를 풀었습니다


Force and Motion 3
Two robots push on a large object in the same direction. One robot pushes with a force of F1 Newtons and the other with a force...

대략 2년 전

문제를 풀었습니다


Force and Motion 2
Two robots are pulling on an object in opposite directions. One robot pulls with a force of F1 Newtons and the other with a forc...

대략 2년 전

문제를 풀었습니다


Laws of motion 6

대략 2년 전

문제를 풀었습니다


Laws of motion 3

대략 2년 전

문제를 풀었습니다


Find the Pattern 1

대략 2년 전

문제를 풀었습니다


A matrix of extroverts
Now that the introverts have had their script, the extroverts spoke up (naturally!) and demanded one as well. You will be given...

대략 2년 전

문제를 풀었습니다


Replace Nonzero Numbers with 1
Given the matrix x, return the matrix y with non zero elements replaced with 1. Example: Input x = [ 1 2 0 0 0 ...

대략 2년 전

문제를 풀었습니다


Too Many Zeros, Dump Them!
Sometimes when I create a matrix, I use this syntax: a = zeros(1000,1000); But when the function ends, I find that I don'...

대략 2년 전

문제를 풀었습니다


Enlarge array
Given an m-by-n numeric array (A) and a 1-by-2 vector (sz) indicating the dimensions [p q] to enlarge each element, return an (m...

대략 2년 전

문제를 풀었습니다


Remove entire row and column in the matrix containing the input values
Remove the entire row and column from the matrix containing specific values. The specified value can be a scalar or a vector. Fo...

대략 2년 전

문제를 풀었습니다


frame of the matrix
Given the matrix M, return M without the external frame.

대략 2년 전

문제를 풀었습니다


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.

대략 2년 전

문제를 풀었습니다


Given a matrix, swap the 2nd & 3rd columns
If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...

대략 2년 전

문제를 풀었습니다


matrix zigzag
Unfold a 2-D matrix to a 1-D array in zig-zag order, e.g., for matrix [ 1 2 3 ; 4 5 6 ; 7 8 9 ] the resulting 1-...

2년 초과 전

문제를 풀었습니다


Sums of cubes and squares of sums
Given the positive integers 1:n, can you: 1. Compute twice the sum of the cubes of those numbers. 2. Subtract the square...

2년 초과 전

문제를 풀었습니다


Rescale Scores
Each column (except last) of matrix X contains students' scores in a course assignment or a test. The last column has a weighted...

2년 초과 전

문제를 풀었습니다


Find MPG of Lightest Cars
The file cars.mat contains a table named cars with variables Model, MPG, Horsepower, Weight, and Acceleration for several classi...

2년 초과 전

문제를 풀었습니다


Crop an Image
A grayscale image is represented as a matrix in MATLAB. Each matrix element represents a pixel in the image. An element value re...

2년 초과 전

더 보기