문제를 풀었습니다


Replace pattern 0 1 0 and 1 0 1
Find and replace a pattern in a row of zeroes and ones. * Find 1 0 1 and replace it with 1 1 1 * Find 0 1 0 and replace it w...

거의 11년 전

문제를 풀었습니다


is the number happy?
test is a given integer number is Happy of not? answer 1 if yes or 0 is no

거의 11년 전

문제를 풀었습니다


Is this number Munchhausen Narcissistic?
In this problem, simply return 1 if a supplied number is Munchhausen narcissistic or 0 if not. Example 153 is narcissistic...

거의 11년 전

문제를 풀었습니다


Get all corner elements from a matrix where dimension of matrix is always equal to or greater than 2.
if a given matrix a = [1 2 3;4 5 6]; so answer is going to be [1 3;4 6]

거의 11년 전

문제를 풀었습니다


Test Problem; Create a 5x5 array containing all ones
This is a test for learning the process of creating a Cody problem. The goal of this test problem will be to create an array,...

거의 11년 전

문제를 풀었습니다


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

거의 11년 전

문제를 풀었습니다


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

거의 11년 전

문제


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

거의 11년 전 | 21 | 솔버 수: 6353

문제를 풀었습니다


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

거의 11년 전

문제


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

거의 11년 전 | 18 | 솔버 수: 6352

문제를 풀었습니다


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

거의 11년 전

문제


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

거의 11년 전 | 22 | 솔버 수: 6618

문제를 풀었습니다


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

거의 11년 전

문제


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

거의 11년 전 | 50 | 솔버 수: 6679

문제를 풀었습니다


Back to Basics - Find no. of elements in a matrix?
Let A be a m*n matrix. Find the total no. of elements in A ? (Hint - formula based) A = [1 2 3;4 5 6]; output = 6

거의 11년 전

문제를 풀었습니다


Your favourite city!
Type your favourite city.

거의 11년 전

문제를 풀었습니다


UICBioE240 2.3
Make a 4D matrix of 4x4x3x4 containing all zeros.

거의 11년 전

문제를 풀었습니다


UICBioE240 2.2
Make a 3x4 matrix that contains all ones.

거의 11년 전

문제를 풀었습니다


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

거의 11년 전

문제를 풀었습니다


Permutations of input vector
Find and output all permutations of given vector

대략 11년 전

문제를 풀었습니다


Populating an array with a for loop
Write a for loop to populate multiplicationTable with the multiples of baseValue from 0 to 5. Ex: If baseValue is 2, then mu...

대략 11년 전

문제를 풀었습니다


Double summation
Write two nested for loops to calculate the following double summation: <<https://drive.google.com/uc?id=0B74PAULDIwwsWFhlNTV...

대략 11년 전

문제를 풀었습니다


For loops: Odds sum
Write a for loop that assigns summedValue with the sum of all odd values from 1 to userNum. Assume userNume is always greater th...

대략 11년 전

문제를 풀었습니다


For loops: Savings account
The for loop calculates the amount of money in a savings account after numberYears given an initial balace of savingsBalance and...

대략 11년 전

문제를 풀었습니다


While loop: Summation
Write a while loop that assigns summedValue with the sum of all values from 1 to userNum. Assume userNum is always greater than ...

대략 11년 전

문제를 풀었습니다


Insect population
An insect population doubles every generation. * Write a while loop that iterates numGeneration times. * Write a statment ...

대략 11년 전

문제를 풀었습니다


While loop with branching
Write a while loop that adjusts userValue while userValue is less than 0 or greater than 80. If userValue is greater than 80, th...

대략 11년 전

문제를 풀었습니다


While loop with multiple conditions
Write a while loop that multiplies userValue by 2 while userValue is not 10 and while userValue is less than 25.

대략 11년 전

문제를 풀었습니다


Writing a while loop
Write a while loop that continues to increment userValue by 5 until userValue is less than 0.

대략 11년 전

문제를 풀었습니다


Preset rpm speeds
A centrifuge has four preset speeds. Write a switch statement that assigns rpmSetting with the appropriate rpm speed given prese...

대략 11년 전

더 보기