解決済み


String Logic 8
Example: 'CAT' --> 65 'DOG' --> 68 'ROSY' --> 79 'MATLAB' --> 65 'TRUST' --> 82 'MOSTLY' --> 76

約1年 前

解決済み


String Logic 6
Examples: 'CAT' --> 216 'DOG' --> 218 'ROSY' --> 333 'MATLAB' --> 433 'TRUST' --> 418 'MOSTLY' --> 488

約1年 前

解決済み


String Logic 5
Example: 'CAT' --> 'TAC' 'DOG' --> 'GOD' 'MATLAB' --> 'BALTAM' 'ROSY' --> 'YSOR' 'TRUST' --> 'TSURT' 'MOSTLY' --> 'YLTS...

約1年 前

解決済み


Calculate a modified Levenshtein distance between two strings
Inspired by the Cody problem found here. The Levenshtein distance is a charater-based string metric used to measure the differe...

約1年 前

解決済み


Watt
Ampere x Volt = Watt

約1年 前

解決済み


Add the positive numbers
Add only the positive numbers of x example: x = [-2 -1 0 1 2 3] the positive numbers are: 1 2 3, so their sum is 6

約1年 前

解決済み


Sum of cubes
Write a program to determine sum of cubes of first n odd numbers.

約1年 前

解決済み


sign function

約1年 前

解決済み


Square root of number
Square root of given number.

約1年 前

解決済み


Count the numbers
In a array x, count the number of times the number n appears in x. for example: x = [1 2 3 4 3 2 1 2] and n = 2 the answer sh...

約1年 前

解決済み


Size

約1年 前

解決済み


Add the even numbers
Add only the even numbers of x example: x = [1 2 3 4 5] the positive numbers are: 2 4, so their sum is 6

約1年 前

解決済み


ASCii Code
Using Matlab get the ASCii for '?'

約1年 前

解決済み


Cannon Ball
Given g (acceleration due to gravity) and desired altitude x, find the minimum ground velocity of a cannon ball to reach x.

約1年 前

解決済み


Do you have the minimum age?

約1年 前

解決済み


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

約1年 前

解決済み


Bruh
Return 'bruh'.

約1年 前

解決済み


Calculate Resistance
Calculate Resistance R of a linear conductor having resistivity p, length l and area A

約1年 前

解決済み


Palindrome Checker
Create a MATLAB function that checks whether a given string is a palindrome or not. A palindrome is a word, phrase, number, or o...

約1年 前

解決済み


Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

約1年 前

解決済み


Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

約1年 前

解決済み


Pi Estimate 1
Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>

約1年 前

解決済み


Calculate Engine Power
Calculate Engine Power (P) in kW given the values of Torque(M) in Nm and Engine Speed(n) in rpm

約1年 前

解決済み


Power Numbers
Find the n-th power of m.

約1年 前

解決済み


Sun angle
Determine the angle of the sun above the horizon based on the time of day. Assumptions: the sun rises in the East at 6h00, cor...

約1年 前

解決済み


Number of Circles in a Number
Given a number, return the number of closed 'circles' in the base 10 numerical representation. Note: the number 4 has no circ...

1年以上 前

解決済み


Is it an Armstrong number?
An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself. Fo...

1年以上 前

解決済み


Convert from integer to binary
if true % decimalToBinaryVector(x) end

1年以上 前

解決済み


STOP that car!!!
The maximum allowed speed for this road is 100. Find the cars that didn't observe the speed limit Arrest and fine them!!!

1年以上 前

解決済み


convert between ascii and characters
I have seen multiple problems like this but none of them have a robust test suite associated with them. The first input C is ...

1年以上 前

さらに読み込む