문제를 풀었습니다


Weave two matrices together to form one matrix
Take the first column from matrix a, then insert the first column from matrix b, and so on. For example: a = [1 2 3 4]; b ...

대략 9년 전

문제를 풀었습니다


Replace NaNs with the number that appears to its left in the row.
Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...

대략 9년 전

문제를 풀었습니다


Cookie Cutters
Given a larger and smaller matrix, perform element-by-element multiplication on the smaller matrix and a sub-matrix of the large...

대략 9년 전

문제를 풀었습니다


Find the area of a squar
Let x be the length of the square let y be the area of the square

대략 9년 전

문제를 풀었습니다


Convert row and columb
Convert row to a columb

대략 9년 전

문제를 풀었습니다


Area of a circle
Find the area of a circle. let x be the radius

대략 9년 전

문제를 풀었습니다


Rounding
Round a number

대략 9년 전

문제를 풀었습니다


Multiply a vector
Multiply a vector

대략 9년 전

문제를 풀었습니다


find the area of rectangle
find the area of the rectangle given the length and width

대략 9년 전

문제를 풀었습니다


combine 2 strings
combine 2 strings

대략 9년 전

문제를 풀었습니다


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

대략 9년 전

문제를 풀었습니다


Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

대략 9년 전

문제를 풀었습니다


String Array Basics, Part 3: Convert Cell Array with Missing Values to String Array
<http://www.mathworks.com/help/matlab/characters-and-strings.html String array> and cell array are two types of containers for s...

대략 9년 전

문제를 풀었습니다


String Array Basics, Part 2: Convert String Array to Cell Array; No Missing Values
<http://www.mathworks.com/help/matlab/characters-and-strings.html String array> and cell array are two types of containers for s...

대략 9년 전

문제를 풀었습니다


String Array Basics, Part 1: Convert Cell Array to String Array; No Missing Values
<http://www.mathworks.com/help/matlab/characters-and-strings.html String array> and cell array are two types of containers for s...

대략 9년 전

문제를 풀었습니다


Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1

대략 9년 전

문제를 풀었습니다


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

대략 9년 전

문제를 풀었습니다


Pizza value using expression with parentheses
Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per ...

대략 9년 전

문제를 풀었습니다


We love vectorized solutions. Problem 1 : remove the row average.
Given a 2-d matrix, remove the row average from each row. Your solution MUST be vectorized. The solution will be tested for ac...

대략 9년 전

문제를 풀었습니다


Union Jack Matrix
Create a matrix of odd dimensions that has ones on both diagonals and dividing the matrix into 4 quadrants, resembling a square ...

대략 9년 전

문제를 풀었습니다


Getting logical indexes
This is a basic MATLAB operation. It is for instructional purposes. --- Logical indexing works like this. thresh = 4...

대략 9년 전

문제를 풀었습니다


intersection of matrices
Given two matrices filled with ones and zeros, determine if they share a common row, column entry. These matrices are of identi...

대략 9년 전

문제를 풀었습니다


Rankine to Kelvin Converter
Given input R, rankine, convert into degrees Celsius.

대략 9년 전

문제를 풀었습니다


Squared Plus 4
Square the given and add 4!

대략 9년 전

문제를 풀었습니다


char3
copol

대략 9년 전

문제를 풀었습니다


Miles per hour to Kilometers per hour
Given input, km/h, create a function that converts it to miles per hour.

대략 9년 전

문제를 풀었습니다


Mass-Energy Equivalence
Given a input of mass, m of and object and a constant of c = 299,792,458, find the amount of energy, E, in the object.

대략 9년 전

문제를 풀었습니다


Find the distance traveled by a car given velocity and time.
A car is traveling at a constant velocity for a specific amount of time. The function should use the two inputs, velocity and ti...

대략 9년 전

문제를 풀었습니다


Min of a Matrix
Return the minimum value in the given matrix.

대략 9년 전

문제를 풀었습니다


Back to basics 14 - Keywords
Covering some basic topics I haven't seen elsewhere on Cody. Return a cell array of all MATLAB keywords

대략 9년 전

더 보기