문제를 풀었습니다


Sum the entries of each column of a matrix which satisfy a logical condition.
Given a numeric matrix A and a logical array L of the same size as A, return a row vector S containing the columnwise sums of th...

대략 11년 전

문제를 풀었습니다


collision
several cars (n) were involved in this collision, the input matrix (vm) has n rows and two columns, first column for velocity an...

대략 11년 전

문제를 풀었습니다


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

대략 11년 전

문제를 풀었습니다


ASCii Code
Using matlab, give the symbol that is associated with ASCii code 122

대략 11년 전

문제를 풀었습니다


Relational operators and row arrays: Run times
* Construct a row array fastRunTimes containing all elements of runTimes equal to or less than 480 seconds.

대략 11년 전

문제를 풀었습니다


Relational operators and row arrays: Overweight baggage
* Assign overweightBaggage with true wherever baggageWeight is above maximumWeight

대략 11년 전

문제를 풀었습니다


Indexing the array: Shift right with variable sized arrays
* Write a statement to shift the array contents 1 position to the left. * Assign the rightmost element with -1. Ex: [12, 85...

대략 11년 전

문제를 풀었습니다


Relational operators: Guessing game
* Row array userGuess contains a sequence of user guesses. Assign correctGuess with true when myNumber is equal to the user gues...

대략 11년 전

문제를 풀었습니다


Constructing strings
* Construct a string alphaString from 'a' to endLetter, using the double colon operator.

대략 11년 전

문제를 풀었습니다


Concatenating arrays
* Assign studentIDs with concatenated row arrays groupA and groupB

대략 11년 전

문제를 풀었습니다


Logical indexing: High scores
Row array gameScores contains all player scores. Construct a row array highScores than contains all player scores greater than 5...

대략 11년 전

문제를 풀었습니다


Concatenating strings
* Write a statement that assigns fullName with firstName, a space, then lastName. Ex: If firstName is Alan and lastName is Tu...

대략 11년 전

문제를 풀었습니다


Adding an element: Ticker tape
* Add stockPrice to the beginning of row array tickerTape

대략 11년 전

문제를 풀었습니다


Comparing floating point values
* Assign matchFound with true if firstSample and secondSample within thresholdValue.

대략 11년 전

문제를 풀었습니다


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

대략 11년 전

문제를 풀었습니다


Variable sized row arrays
* Reverse the contents of row array mileMarkers

대략 11년 전

문제를 풀었습니다


Constructing column arrays
* Construct a column array elevatorStops with values 2, 4, 5, 9, and 10

대략 11년 전

문제를 풀었습니다


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

대략 11년 전

문제를 풀었습니다


Linear-spaced points array
* Construct a row array plotPoints with 5 values that are spaced linearly from lowValue to highValue. Ex: If lowValue is 1 and ...

대략 11년 전

문제를 풀었습니다


Column arrays: Transpose a row array
* Construct a row array countValues with elements 1 to endValue, using the double colon operator. * Transpose countValues to re...

대략 11년 전

문제를 풀었습니다


Two functions (to be sure)
I want to compute the number of odd/even numbers in an array. But I want the results by two different functions. Example: ...

대략 11년 전

문제를 풀었습니다


arithmetic progression
I've written a program to generate the first few terms of <https://en.wikipedia.org/wiki/Arithmetic_progression arithmetic progr...

대략 11년 전

문제를 풀었습니다


Count number of words in string
Count number of words in string Examples 'hi', answer is 1 'hi hi', answer is 2 'I enjoy cody', answer is 3

대략 11년 전

문제를 풀었습니다


Create a block diagonal matrix
A block diagonal matrix is a square matrix that can be written as A = [a 0 0 0 0 b 0 0 0 0 c 0 ...

대략 11년 전

문제를 풀었습니다


Remove the positive integers.
Given array,x, remove all the positive numbers and display ouput as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

대략 11년 전

문제를 풀었습니다


Remove and Sort
Given a randomized array n, sort it and remove all odd integers. n=5 y = [2 4]

대략 11년 전

문제를 풀었습니다


Find the 9's complement of the given number
Find the 9's complement of the given number. An example of how this works is <http://electrical4u.com/9s-complement-and-10s-c...

대략 11년 전

문제를 풀었습니다


Find 10's complement
Find 10's complement of a given number. An example is <http://electrical4u.com/9s-complement-and-10s-complement/ shown here>.

대략 11년 전

문제를 풀었습니다


pay it forward
THIS PROBLEM IS BEING RESCORED, PLEASE WAIT Return any number (integer between 0 and 65535) You will pass this problem if ...

대략 11년 전

문제를 풀었습니다


Convert Kilometers to Miles
Convert kilometers to miles. Consider 1 km = 0.62 mile. Note: Don't use the '*' operator.

대략 11년 전

더 보기