Programming Languages:
MATLAB
Spoken Languages:
Japanese
Pronouns:
He/him
Professional Interests:
Optimization, Genetic Algorithm, Multiobjective Optimization, Estimation, Visualization
MATLAB
Spoken Languages:
Japanese
Pronouns:
He/him
Professional Interests:
Optimization, Genetic Algorithm, Multiobjective Optimization, Estimation, Visualization
統計
All
Feeds
解決済み
Sum the main diagonal of a matrix
Given a square matrix, return the sum of its main diagonal elements. Example: diag_sum([1 2 3; 4 5 6; 7 8 9]) returns 15
約12時間 前
解決済み
Convert Celsius temperature to Fahrenheit
Given a temperature in Celsius, return the equivalent in Fahrenheit. Formula: F = C * 9/5 + 32Example: cel2fahr(100) returns 212...
約12時間 前
解決済み
Count how many elements are above the mean
Given a vector, return the count of elements strictly greater than the mean of the vector. Example: above_mean_count([1 2 3 4 5]...
約15時間 前
解決済み
Determine if a number is prime
Given a positive integer n, return 1 if it is prime, 0 otherwise. Example: is_prime(7) returns 1, is_prime(4) returns 0
約15時間 前
解決済み
Reverse the characters of a string
Given a string, return the string with characters in reverse order. Example: rev_string('hello') returns 'olleh'
約15時間 前
解決済み
[Mảng 1 Chiều Cơ Bản]. Bài 3. Số nhỏ nhất
Cho mảng số nguyên A[] gồm N phần tử, hãy đếm xem trong mảng của bạn có bao nhiêu số có cùng giá trị nhỏ nhất. Ví dụ mảng A = {1...
約15時間 前
解決済み
Find vampire numbers
A vampire number is a number v that is the product of two numbers x and y such that the following conditions are satisfied: at ...
4ヶ月 前
解決済み
Multiplying the Sums of Two Arrays
Get two arrays, add the values within the array up, and then multiply the two total values. [2,3]*[3,6] 5*18 90
4ヶ月 前
解決済み
Mach Number Calculator
Create a solver which converts a speed in km/s to a Mach Number Round to 2 decimal places Requires: Mach Number Formula (ea...
4ヶ月 前
解決済み
Linearly Spaced Array
Create a linearly spaced array from 0 to x consisting of y elements.
4ヶ月 前
解決済み
Sum of even numbers in a vector
Write a function that takes a vector of numbers and returns the sum of all the even numbers in the vector.
4ヶ月 前
解決済み
Point on a line
Find the slope of the straight line between the points a and b. Then find y at x=20.
4ヶ月 前
解決済み
Write a string
The answer should be a string that is the value: "I like apples!" (Ignore the quotation marks, just write what is inside the ...
4ヶ月 前
解決済み
X-intercepts of a quadratic.
Find the y value of the quadratic of the function at a point x.
4ヶ月 前
解決済み
Solve for factorial of X
It gives you the number x, and set y equal to x factorial. Ex. There are 52 cards in a deck, each specific order of all 52 car...
4ヶ月 前
解決済み
Return the Square of a Number
Write a function that takes a single numeric input x and returns its square. That is, given x, your function should output x^2....
4ヶ月 前
解決済み
The Five Infection (Boss Level)
Given a 3x3 matrix A, replace: every value that is equal to five every value that is directly adjacent to a five with zero in...
4ヶ月 前
解決済み
Fives Begone
Given any sentence as an input value 'sentence', turn all fives into the letter X and return the improved sentence. Also, turn a...
4ヶ月 前
解決済み
Broken Clock
Create a function that outputs t, an inputted matrix time x, in hours and minutes (hr:min) unless the time contains a five. In t...
4ヶ月 前
解決済み
No Fives Permitted
Create a function that gives users an custom error message if the matrix A contains a five. The error message should say "No Fiv...
4ヶ月 前
解決済み
A Fiveless Factorial
Given a positive integer x, compute its factorial y, but exclude any muliplication by five if applicable.
4ヶ月 前
解決済み
Don't Sum a Five
Create a function that sums the first and last element of a muti-element vector unless the value of one of the elements is 5. Do...
4ヶ月 前
解決済み
Don't Include a Five (Part Two)
Given a vector A with at least one non-five, return vector B, with all fives excluded (not replaced by zeros).
4ヶ月 前











