문제를 풀었습니다


Create a vector
Create a vector from 0 to n by intervals of 2.

대략 4년 전

문제를 풀었습니다


make histogram
You probably know the function hist(x,n) to get the histogram. Now try to write the function yourself! For the cheaters wanting...

대략 4년 전

문제를 풀었습니다


A little bit of luck needed
This one may require a little bit of guess work, but it is possible. Hints: - The same solution might fail the tests once and ...

대략 4년 전

문제를 풀었습니다


ICFP2021 Hole-In-Wall: Calculate Score
The ICFP held its annual 3-day contest in July 2021 with Hole-In-Wall. Contest Specification. The contest folds the figure in R...

대략 4년 전

문제를 풀었습니다


Which Prime
Given two prime numbers, specify the relation between them i.e. - 'Twin Prime', 'Cousin Prime', 'Sexy Prime' or 'None'

대략 4년 전

문제를 풀었습니다


Create array of all Distances between two Sets of Points
This Challenge is a subsection of Martian Pranks based on Tim's efficient Distance calculation between sets of points. Given Po...

대략 4년 전

문제를 풀었습니다


Find the maxmum value of N*N Matrix
Input x=[1 2 3; 4 5 6; 7 8 9] output: y=9

대략 4년 전

문제를 풀었습니다


Sum the rows
Sum the rows of the given matrix. Example x = [ 1 2 3 4 ] y = [ 3 7 ]

대략 4년 전

문제를 풀었습니다


Plotting Practice
Plot cos(x) vs x as shown in the figure below. Include the appropriate title, x-label, and y-label. Note, it is case sensitive. ...

4년 초과 전

문제를 풀었습니다


arrayfun bomb

4년 초과 전

답변 있음
Equivalent of c++'s NULL or python' s None in MATLAB
I think you can use class.empty for null in matlab classdef A < handle properties empty = A.empty; end end...

4년 초과 전 | 0

문제를 풀었습니다


Divisible by n, prime divisors (including powers)
For this problem, you will be provided an array of numbers (not necessarily in order). Return the array of numbers with only pri...

4년 초과 전

문제를 풀었습니다


What? Paradox?
What's going on here?

4년 초과 전

문제를 풀었습니다


Solve a nonlinear difference equation

4년 초과 전

문제를 풀었습니다


Functionality 1
It's all about functionality. *Cheating is allowed but not required*

4년 초과 전

문제를 풀었습니다


Generate a matrix as follows
write a Function that gives like the following for a random n: n=2 ans= [ 0 1 1 0] n=6 ans= [ 0 ...

4년 초과 전

문제를 풀었습니다


Sort Except Zeros
Sort the numbers in a vector. But the position of zeros should not be changed. Example: sort_except_zeros( [5 3 0 0 2 4] ) == [...

4년 초과 전

문제를 풀었습니다


How many bytes an image requires from RAM?

4년 초과 전

문제를 풀었습니다


UICBioE240 problem 1.11
Store a series of numbers into a 4 by 4 matrix, starting with the first few positions going right and down, and leaving the rest...

4년 초과 전

문제를 풀었습니다


MATLAB Basics: Complex Conjugates
For a given complex number, x, return the complex conjugate, y.

4년 초과 전

문제를 풀었습니다


MATLAB Basics: Complex Argument
For a given complex number, x, return the argument, y, in degrees.

4년 초과 전

문제를 풀었습니다


MATLAB Basics: Complex Numbers
For a given complex number, x, return the real and imaginary parts as a vector, y = [Real Imaginary].

4년 초과 전

문제를 풀었습니다


Matrix convolution
A certain convolution step involves an elementwise multipication between two 3x3 matrices and taking the resulting sum of the el...

4년 초과 전

문제를 풀었습니다


Matrix Indexing
Given a matrix A and scalars r,c,i, find the product of two elements, with the first element located at row r and column c (doub...

4년 초과 전

문제를 풀었습니다


Stacking vectors into a matrix
Given a 4x1 vector a, and a 2x2 matrix b, create a matrix M in which the first 2 rows are each identical to a and the last two r...

거의 5년 전

문제를 풀었습니다


Vector creation using colon operator
Create a vector y containing n uniformly spaced values between a and b, with a < b. Use the colon (:) operator.

거의 5년 전

문제를 풀었습니다


Vector creation using linspace
Create a vector y containing n uniformly spaced values between a and b, with a < b. Use linspace.

거의 5년 전

문제를 풀었습니다


Logarithmically spaced vector creation using logspace
Create a vector y containing n logarithmically spaced values between a and b, with a < b. Use the logspace operator.

거의 5년 전

문제를 풀었습니다


Logarithmically spaced vector creation using linspace
Create a vector y containing n logarithmically spaced values between a and b, with a < b. Avoid using logspace and use the linsp...

거의 5년 전

더 보기