문제를 풀었습니다


Array of Ones
Create a 100 X 100 array of ones.

대략 5년 전

문제를 풀었습니다


What percentage?
Calculate the output c as the percentage of a on b for given a and b.

대략 5년 전

문제를 풀었습니다


Help the Patriots get to the Super Bowl
Given a football by the Patriots, return it to them with 2 psi less air in it. (The original psi is passed as a number to the...

대략 5년 전

문제를 풀었습니다


UICBioE240 2.1
This will be useful later in the course, in conjunction to clc and clear all, what is the command to close all figure windows th...

대략 5년 전

문제를 풀었습니다


Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

대략 5년 전

문제를 풀었습니다


Max of a Vector
Write a function to return the max of a vector

대략 5년 전

문제를 풀었습니다


Find the product of a Vector
How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?; x = [1 : 0.5 : 6]; y ...

대략 5년 전

문제를 풀었습니다


Counting down
Create a vector that counts from 450 to 200 in increments of 10.

대략 5년 전

문제를 풀었습니다


Matlab Basics - Logical Tests I
Write a script to test whether a year number is for a leap year or not. eg. x = 1884 output = 1 eg. x = 3 output = 0

대략 5년 전

문제를 풀었습니다


Close MATLAB with keyboard
Close MATLAB with keyboard without using mouse

대략 5년 전

문제를 풀었습니다


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

대략 5년 전

문제를 풀었습니다


Replace May with April
For instance, if the input is input_str = 'The flowers may bloom in April'; then the output is output_str = 'The flo...

대략 5년 전

문제를 풀었습니다


Find the logic
There exists one logic in between input and output. Find it (easy math). Example 1: x=13 then y=339; Example 2: x=26...

대략 5년 전

문제를 풀었습니다


Integer or Float?
Test an input to see whether it is an integer or a floating point number. If it is an integer return 1 for 'true'. Otherwise ret...

대략 5년 전

문제를 풀었습니다


Freebies anyone? No!!!!
Feel free to copy paste all the tests and voila you solved the problem

대략 5년 전

문제를 풀었습니다


Bruh
Return 'bruh'.

대략 5년 전

문제를 풀었습니다


Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

대략 5년 전

문제를 풀었습니다


Reverse a string
Reverse the given string. Example input = 'reverse' output = 'esrever'

대략 5년 전

문제를 풀었습니다


Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.

대략 5년 전

문제를 풀었습니다


find whether it is prime or not
For a given number find if its prime

대략 5년 전

문제를 풀었습니다


Determine if input is divisible by three.
Given a positive integer, n, determine if n is divisible by 3. If yes, the function should output true. If no, false.

대략 5년 전

문제를 풀었습니다


reverse string
input='rama' output='amar'

대략 5년 전

문제를 풀었습니다


Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

대략 5년 전

문제를 풀었습니다


Replacing a row
For matrix G=[1 2 3; 4 5 6; 7 8 9] Replace the 2nd row with 8s **remember to create matrix G

대략 5년 전

문제를 풀었습니다


y equals x divided by 2
function y = x/2

대략 5년 전

문제를 풀었습니다


Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.

대략 5년 전

문제를 풀었습니다


Do Fast Fourier Transformation
Example Fast Fourier Transformation from vector [2,1]) ans = 3 1

대략 5년 전

문제를 풀었습니다


Square root of a number
Write a code that will output the square root of x.

대략 5년 전

문제를 풀었습니다


Square a Number
Given an input x, return y, which is equal to the square of x.

대략 5년 전

문제를 풀었습니다


length of a vector
Find twice the length of a given vector.

대략 5년 전

더 보기